DefaultRequestHandlerGetResourceResponseFilter Method |
Version 63.0.0
Called on the CEF IO thread to optionally filter resource response content.
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax public virtual IResponseFilter GetResourceResponseFilter(
IWebBrowser browserControl,
IBrowser browser,
IFrame frame,
IRequest request,
IResponse response
)
public:
virtual IResponseFilter^ GetResourceResponseFilter(
IWebBrowser^ browserControl,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request,
IResponse^ response
)
Parameters
- browserControl
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - frame
- Type: CefSharpIFrame
The frame that is being redirected. - request
- Type: CefSharpIRequest
the request object - cannot be modified in this callback - response
- Type: CefSharpIResponse
the response object - cannot be modified in this callback
Return Value
Type:
IResponseFilterReturn an IResponseFilter to intercept this response, otherwise return null
Implements
IRequestHandlerGetResourceResponseFilter(IWebBrowser, IBrowser, IFrame, IRequest, IResponse)See Also