ResourceHandlerGetResponse Method |
Version 104.4.240
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: 104.4.240.0 (104.4.240.0)
Syntax protected virtual Stream GetResponse(
IResponse response,
out long responseLength,
out string redirectUrl
)
protected:
virtual Stream^ GetResponse(
IResponse^ response,
[OutAttribute] long long% responseLength,
[OutAttribute] 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:
StreamThe response stream
See Also