Trait darwin_webkit::foundation::ns_url_request::NSURLRequest
source · pub trait NSURLRequest: Sized {
// Required methods
unsafe fn requestWithURL_(_: Self, url: id) -> id;
unsafe fn initWithURL_(self, url: id) -> id;
unsafe fn requestWithURL_cachePolicy_timeoutInterval(
_: Self,
url: id,
cachePolicy: id,
timeoutInterval: NSTimeInterval
) -> id;
unsafe fn initWithURL_cachePolicy_timeoutInterval(
self,
url: id,
cachePolicy: id,
timeoutInterval: NSTimeInterval
) -> id;
// Provided method
unsafe fn alloc(_: Self) -> id { ... }
}
Required Methods§
sourceunsafe fn requestWithURL_(_: Self, url: id) -> id
unsafe fn requestWithURL_(_: Self, url: id) -> id
Safety
All the FFI functions are unsafe.
sourceunsafe fn initWithURL_(self, url: id) -> id
unsafe fn initWithURL_(self, url: id) -> id
Safety
All the FFI functions are unsafe.
sourceunsafe fn requestWithURL_cachePolicy_timeoutInterval(
_: Self,
url: id,
cachePolicy: id,
timeoutInterval: NSTimeInterval
) -> id
unsafe fn requestWithURL_cachePolicy_timeoutInterval( _: Self, url: id, cachePolicy: id, timeoutInterval: NSTimeInterval ) -> id
Safety
All the FFI functions are unsafe.
sourceunsafe fn initWithURL_cachePolicy_timeoutInterval(
self,
url: id,
cachePolicy: id,
timeoutInterval: NSTimeInterval
) -> id
unsafe fn initWithURL_cachePolicy_timeoutInterval( self, url: id, cachePolicy: id, timeoutInterval: NSTimeInterval ) -> id
Safety
All the FFI functions are unsafe.