pub unsafe trait WebResourceLoadDelegate: NSObjectProtocol {
// Provided methods
unsafe fn webView_identifierForInitialRequest_fromDataSource(
&self,
sender: Option<&WebView>,
request: Option<&NSURLRequest>,
data_source: Option<&WebDataSource>
) -> Option<Id<AnyObject>>
where Self: Sized + Message { ... }
unsafe fn webView_resource_willSendRequest_redirectResponse_fromDataSource(
&self,
sender: Option<&WebView>,
identifier: Option<&AnyObject>,
request: Option<&NSURLRequest>,
redirect_response: Option<&NSURLResponse>,
data_source: Option<&WebDataSource>
) -> Option<Id<NSURLRequest>>
where Self: Sized + Message { ... }
unsafe fn webView_resource_didReceiveAuthenticationChallenge_fromDataSource(
&self,
sender: Option<&WebView>,
identifier: Option<&AnyObject>,
challenge: Option<&NSURLAuthenticationChallenge>,
data_source: Option<&WebDataSource>
)
where Self: Sized + Message { ... }
unsafe fn webView_resource_didCancelAuthenticationChallenge_fromDataSource(
&self,
sender: Option<&WebView>,
identifier: Option<&AnyObject>,
challenge: Option<&NSURLAuthenticationChallenge>,
data_source: Option<&WebDataSource>
)
where Self: Sized + Message { ... }
unsafe fn webView_resource_didReceiveResponse_fromDataSource(
&self,
sender: Option<&WebView>,
identifier: Option<&AnyObject>,
response: Option<&NSURLResponse>,
data_source: Option<&WebDataSource>
)
where Self: Sized + Message { ... }
unsafe fn webView_resource_didReceiveContentLength_fromDataSource(
&self,
sender: Option<&WebView>,
identifier: Option<&AnyObject>,
length: NSInteger,
data_source: Option<&WebDataSource>
)
where Self: Sized + Message { ... }
unsafe fn webView_resource_didFinishLoadingFromDataSource(
&self,
sender: Option<&WebView>,
identifier: Option<&AnyObject>,
data_source: Option<&WebDataSource>
)
where Self: Sized + Message { ... }
unsafe fn webView_resource_didFailLoadingWithError_fromDataSource(
&self,
sender: Option<&WebView>,
identifier: Option<&AnyObject>,
error: Option<&NSError>,
data_source: Option<&WebDataSource>
)
where Self: Sized + Message { ... }
unsafe fn webView_plugInFailedWithError_dataSource(
&self,
sender: Option<&WebView>,
error: Option<&NSError>,
data_source: Option<&WebDataSource>
)
where Self: Sized + Message { ... }
}
👎Deprecated
Available on crate feature
WebResourceLoadDelegate
only.Provided Methods§
unsafe fn webView_identifierForInitialRequest_fromDataSource( &self, sender: Option<&WebView>, request: Option<&NSURLRequest>, data_source: Option<&WebDataSource> ) -> Option<Id<AnyObject>>
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_resource_willSendRequest_redirectResponse_fromDataSource( &self, sender: Option<&WebView>, identifier: Option<&AnyObject>, request: Option<&NSURLRequest>, redirect_response: Option<&NSURLResponse>, data_source: Option<&WebDataSource> ) -> Option<Id<NSURLRequest>>
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_resource_didReceiveAuthenticationChallenge_fromDataSource( &self, sender: Option<&WebView>, identifier: Option<&AnyObject>, challenge: Option<&NSURLAuthenticationChallenge>, data_source: Option<&WebDataSource> )
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_resource_didCancelAuthenticationChallenge_fromDataSource( &self, sender: Option<&WebView>, identifier: Option<&AnyObject>, challenge: Option<&NSURLAuthenticationChallenge>, data_source: Option<&WebDataSource> )
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_resource_didReceiveResponse_fromDataSource( &self, sender: Option<&WebView>, identifier: Option<&AnyObject>, response: Option<&NSURLResponse>, data_source: Option<&WebDataSource> )
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_resource_didReceiveContentLength_fromDataSource( &self, sender: Option<&WebView>, identifier: Option<&AnyObject>, length: NSInteger, data_source: Option<&WebDataSource> )
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_resource_didFinishLoadingFromDataSource( &self, sender: Option<&WebView>, identifier: Option<&AnyObject>, data_source: Option<&WebDataSource> )
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_resource_didFailLoadingWithError_fromDataSource( &self, sender: Option<&WebView>, identifier: Option<&AnyObject>, error: Option<&NSError>, data_source: Option<&WebDataSource> )
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.unsafe fn webView_plugInFailedWithError_dataSource( &self, sender: Option<&WebView>, error: Option<&NSError>, data_source: Option<&WebDataSource> )
👎Deprecated
Available on crate features
WebDataSource
and WebView
and objc2-app-kit
only.