ResourceHandler Constructor |
Version 130.1.90Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public ResourceHandler(
string mimeType = "text/html",
Stream stream = null,
bool autoDisposeStream = false,
string charset = null
)
public:
ResourceHandler(
String^ mimeType = L"text/html",
Stream^ stream = nullptr,
bool autoDisposeStream = false,
String^ charset = nullptr
)
Parameters
- mimeType String (Optional)
- Optional mimeType defaults to DefaultMimeType
- stream Stream (Optional)
- Optional Stream - must be set at some point to provide a valid response
- autoDisposeStream Boolean (Optional)
- When true the Stream will be disposed when this instance is Disposed, you will
be unable to use this ResourceHandler after the Stream has been disposed
- charset String (Optional)
- response charset
See Also