IResourceHandlerOpen Method |
Version 101.0.180
Open the response stream.
- To handle the request immediately set
handleRequest to true and return true.
- To decide at a later time set
handleRequest to false, return true, and execute
callback
to continue or cancel the request.
- To cancel the request immediately set
handleRequest to true and return false.
This method will be called in sequence but not from a dedicated thread.
For backwards compatibility set
handleRequest to false and return false and the
ProcessRequest(IRequest, ICallback) method
will be called.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax bool Open(
IRequest request,
out bool handleRequest,
ICallback callback
)
bool Open(
IRequest^ request,
[OutAttribute] bool% handleRequest,
ICallback^ callback
)
Parameters
- request
- Type: CefSharpIRequest
request - handleRequest
- Type: SystemBoolean
see main summary - callback
- Type: CefSharpICallback
callback
Return Value
Type:
Booleansee main summary
See Also