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