ResourceRequestHandlerGetResourceResponseFilter Method |
Version 88.2.90 Called on the CEF IO thread to optionally filter resource response content.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax protected virtual IResponseFilter GetResourceResponseFilter(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
IFrame frame,
IRequest request,
IResponse response
)
protected:
virtual IResponseFilter^ GetResourceResponseFilter(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
IFrame^ frame,
IRequest^ request,
IResponse^ response
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control. - browser
- Type: CefSharpIBrowser
the browser object - may be null if originating from ServiceWorker or CefURLRequest. - frame
- Type: CefSharpIFrame
the frame object - may be null if originating from ServiceWorker or CefURLRequest. - 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.
See Also