FolderSchemeHandlerFactoryCreate Method |
Version 109.1.110
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: 109.1.110.0 (109.1.110.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