ResourceHandlerFromStream Method |
Version 130.1.90
Gets the resource from a stream.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public static ResourceHandler FromStream(
Stream stream,
string mimeType = "text/html",
bool autoDisposeStream = false,
string charSet = null
)
public:
static ResourceHandler^ FromStream(
Stream^ stream,
String^ mimeType = L"text/html",
bool autoDisposeStream = false,
String^ charSet = nullptr
)
Parameters
- stream Stream
- A stream of the resource.
- mimeType String (Optional)
- Type of MIME.
- autoDisposeStream Boolean (Optional)
- Dispose of the stream when finished with (you will only be able to serve one
request).
- charSet String (Optional)
- response charset
Return Value
ResourceHandlerResourceHandler.
See Also