FolderSchemeHandlerFactory Constructor |
Version 63.0.0
Initialize a new instance of FolderSchemeHandlerFactory
Namespace: CefSharp.SchemeHandlerAssembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax public FolderSchemeHandlerFactory(
string rootFolder,
string schemeName = null,
string hostName = null,
string defaultPage = "index.html"
)
public:
FolderSchemeHandlerFactory(
String^ rootFolder,
String^ schemeName = nullptr,
String^ hostName = nullptr,
String^ defaultPage = L"index.html"
)
Parameters
- rootFolder
- Type: SystemString
Root Folder where all your files exist, requests cannot be made outside of this folder - schemeName (Optional)
- Type: SystemString
if not null then schemeName checking will be implemented - hostName (Optional)
- Type: SystemString
if not null then hostName checking will be implemented - defaultPage (Optional)
- Type: SystemString
default page if no page specified, defaults to index.html
See Also