Movatterモバイル変換


[0]ホーム

URL:


CefSharp API Doc
CefSharp API Doc
Namespaces
CefSharp
ResourceHandler Class
ResourceHandler Methods
Dispose Method
ForErrorMessage Method
FromByteArray Method
FromFilePath Method
FromStream Method
FromString Method
GetByteArray Method
GetMemoryStream Method
GetMimeType Method
ProcessRequestAsync Method
Click or drag to resizeClick or drag to resize

ResourceHandlerFromStream Method

Version 118.6.80
Gets the resource from a stream.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
publicstaticResourceHandlerFromStream(Streamstream,stringmimeType = "text/html",boolautoDisposeStream =false,stringcharSet =null)
public:staticResourceHandler^FromStream(Stream^stream,String^mimeType = L"text/html",boolautoDisposeStream =false,String^charSet =nullptr)

Parameters

stream
Type: System.IOStream
A stream of the resource.
mimeType (Optional)
Type: SystemString
Type of MIME.
autoDisposeStream (Optional)
Type: SystemBoolean
Dispose of the stream when finished with (you will only be able to serve one request).
charSet (Optional)
Type: SystemString
response charset

Return Value

Type: ResourceHandler
ResourceHandler.
See Also

Reference

ResourceHandler Class
CefSharp Namespace

https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE


[8]ページ先頭

©2009-2025 Movatter.jp