ResourceHandlerGetResponse Method |
Version 73.1.130
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: 73.1.130.0 (73.1.130.0)
Syntax public virtual Stream GetResponse(
IResponse response,
out long responseLength,
out string redirectUrl
)
public:
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