ResourceRequestHandlerGetResourceResponseFilter Method |
Version 130.1.90Called on the CEF IO thread to optionally filter resource response content.
Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.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 IWebBrowser
- The ChromiumWebBrowser control.
- browser IBrowser
- the browser object - may be null if originating from ServiceWorker or CefURLRequest.
- frame IFrame
- the frame object - may be null if originating from ServiceWorker or CefURLRequest.
- request IRequest
- the request object - cannot be modified in this callback.
- response IResponse
- the response object - cannot be modified in this callback.
Return Value
IResponseFilterReturn an IResponseFilter to intercept this response, otherwise return null.
See Also