Click or drag to resize
ResourceHandlerGetResponse Method
Version 57.0.0
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
Assembly: CefSharp (in CefSharp.dll) Version: 57.0.0.0 (57.0.0.0)
Syntax
public 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