Click or drag to resize

ResourceHandlerFromStream Method

Version 130.1.90
Gets the resource from a stream.

Namespace: CefSharp
Assembly: 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
)

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

ResourceHandler
ResourceHandler.
See Also