FolderSchemeHandlerFactoryCreate Method |
Version 92.0.260
If the file requested is within the rootFolder then a IResourceHandler reference to the file requested will be returned
otherwise a 404 ResourceHandler will be returned.
Namespace:
CefSharp.SchemeHandler
Assembly:
CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.0)
Syntax protected virtual IResourceHandler Create(
IBrowser browser,
IFrame frame,
string schemeName,
IRequest request
)
protected:
virtual IResourceHandler^ Create(
IBrowser^ browser,
IFrame^ frame,
String^ schemeName,
IRequest^ request
)
Parameters
- browser
- Type: CefSharpIBrowser
the browser window that originated the
request or null if the request did not originate from a browser window
(for example, if the request came from CefURLRequest). - frame
- Type: CefSharpIFrame
frame that originated the request
or null if the request did not originate from a browser window
(for example, if the request came from CefURLRequest). - schemeName
- Type: SystemString
the scheme name - request
- Type: CefSharpIRequest
The request. (will not contain cookie data)
Return Value
Type:
IResourceHandler
A IResourceHandler
See Also