data class GetEncodedResponseRequest
(source)
Represents request frame that can be used with Audits.getEncodedResponse method call.
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
GetEncodedResponseRequest(requestId: RequestId, encoding: String, quality: Double? = null, sizeOnly: Boolean? = null)
Represents request frame that can be used with Audits.getEncodedResponse method call. |
val encoding: String
The encoding to use. |
|
val quality: Double?
The quality of the encoding (0-1). (defaults to 1) |
|
val requestId: RequestId
Identifier of the network request to get content for. |
|
val sizeOnly: Boolean?
Whether to only return the size information (defaults to false). |