net9.0-macos
namespace WebKit
{
    [ObsoletedOSPlatform("macos10.14", "No longer supported.")]
    [Protocol(FormalSince = "10.11", Name = "WebResourceLoadDelegate", WrapperType = typeof(WebResourceLoadDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnReceivedAuthenticationChallenge", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlAuthenticationChallenge), typeof(WebDataSource) }, Selector = "webView:resource:didReceiveAuthenticationChallenge:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnCancelledAuthenticationChallenge", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlAuthenticationChallenge), typeof(WebDataSource) }, Selector = "webView:resource:didCancelAuthenticationChallenge:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnReceivedResponse", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlResponse), typeof(WebDataSource) }, Selector = "webView:resource:didReceiveResponse:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnReceivedContentLength", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(IntPtr), typeof(WebDataSource) }, Selector = "webView:resource:didReceiveContentLength:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnFinishedLoading", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(WebDataSource) }, Selector = "webView:resource:didFinishLoadingFromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnFailedLoading", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSError), typeof(WebDataSource) }, Selector = "webView:resource:didFailLoadingWithError:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnPlugInFailed", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSError), typeof(WebDataSource) }, Selector = "webView:plugInFailedWithError:dataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnIdentifierForInitialRequest", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSUrlRequest), typeof(WebDataSource) }, ReturnType = typeof(NSObject), Selector = "webView:identifierForInitialRequest:fromDataSource:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "OnSendRequest", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(WebView), typeof(NSObject), typeof(NSUrlRequest), typeof(NSUrlResponse), typeof(WebDataSource) }, ReturnType = typeof(NSUrlRequest), Selector = "webView:resource:willSendRequest:redirectResponse:fromDataSource:")]
    [SupportedOSPlatform("macos")]
    [UnsupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("maccatalyst")]
    public interface IWebResourceLoadDelegate : INativeObject, IDisposable
}
Assembly Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-macos7.0-macos8.0-macos9.0-macos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • macOS
  • tvOS
  • Built-in API
  • Package-provided API

04/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙