Click or drag to resize

ResourceHandlerGetResponse Method

Version 99.2.120
Populate the response stream, response length. When this method is called the response should be fully populated with data. It is possible to redirect to another url at this point in time. NOTE: It's no longer manditory to implement this method, you can simply populate the properties of this instance and they will be set by the default implementation.

Namespace:  CefSharp.Lagacy
Assembly:  CefSharp (in CefSharp.dll) Version: 99.2.120.0 (99.2.120.0)
Syntax
protected virtual Stream GetResponse(
	IResponse response,
	out long responseLength,
	out string redirectUrl
)

Parameters

response
Type: CefSharpIResponse
The response object used to set Headers, StatusCode, etc
responseLength
Type: SystemInt64
length of the response
redirectUrl
Type: SystemString
If set the request will be redirect to specified Url

Return Value

Type: Stream
The response stream
See Also