IResourceHandlerFactoryGetResourceHandler Method |
Version 73.1.130
Called before a resource is loaded. To specify a handler for the resource return a
ResourceHandler object
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 73.1.130.0 (73.1.130.0)
Syntax IResourceHandler GetResourceHandler(
IWebBrowser browserControl,
IBrowser browser,
IFrame frame,
IRequest request
)
IResourceHandler^ GetResourceHandler(
IWebBrowser^ browserControl,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request
)
Parameters
- browserControl
- Type: CefSharpIWebBrowser
The browser UI control - browser
- Type: CefSharpIBrowser
the browser object - frame
- Type: CefSharpIFrame
the frame object - request
- Type: CefSharpIRequest
the request object - cannot be modified in this callback
Return Value
Type:
IResourceHandlerTo allow the resource to load normally return NULL otherwise return an instance of ResourceHandler with a valid stream
See Also