Click or drag to resize
IResourceHandlerGetResponseHeaders Method
Version 63.0.0
Retrieve response header information. If the response length is not known set responseLength to -1 and ReadResponse() will be called until it returns false. If the response length is known set responseLength to a positive value and ReadResponse() will be called until it returns false or the specified number of bytes have been read. If an error occured while setting up the request you can set ErrorCode to indicate the error condition.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax
void GetResponseHeaders(
	IResponse response,
	out long responseLength,
	out string redirectUrl
)

Parameters

response
Type: CefSharpIResponse
Use the response object to set the mime type, http status code and other optional header values.
responseLength
Type: SystemInt64
If the response length is not known set responseLength to -1
redirectUrl
Type: SystemString
To redirect the request to a new URL set redirectUrl to the new Url.
See Also