IResourceHandlerFactoryGetResourceHandler Method |
Version 67.0.0
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: 67.0.0.0 (67.0.0.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