Trait WebResourceLoadDelegate

Source
pub unsafe trait WebResourceLoadDelegate: NSObjectProtocol { }
👎Deprecated
Available on crate feature WebResourceLoadDelegate only.
Expand description

Implementors of this protocol will receive messages indicating that a resource is about to be loaded, data has been received for a resource, an error has been received for a resource, and completion of a resource load. Implementors are also given the opportunity to mutate requests before they are sent. The various progress methods of this protocol all receive an identifier as the parameter. This identifier can be used to track messages associated with a single resource. For example, a single resource may generate multiple resource:willSendRequest:redirectResponse:fromDataSource: messages as it’s URL is redirected.

See also Apple’s documentation

Trait Implementations§

Source§

impl ProtocolType for dyn WebResourceLoadDelegate

Source§

const NAME: &'static str = "WebResourceLoadDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn WebResourceLoadDelegate

Implementations on Foreign Types§

Source§

impl<T> WebResourceLoadDelegate for ProtocolObject<T>

Implementors§