getResponseHeaders
abstract fun getResponseHeaders(response: CefResponse, responseLength: IntRef, redirectUrl: StringRef)
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. Use the |response| object to set the mime type, http status code and other optional header values.
Parameters
response
The request response that should be returned. Instance only valid within the scope of this method.
responseLength
Optionally set the response length if known.
redirectUrl
Optionally redirect the request to a new URL.