pl.wendigo.chrome.api.audits / GetEncodedResponseResponse

GetEncodedResponseResponse

data class GetEncodedResponseResponse (source)

Represents response frame that is returned from Audits#getEncodedResponse operation call. Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

Link
Audits#getEncodedResponse method documentation.

See Also

AuditsOperations.getEncodedResponse

Constructors

<init>

GetEncodedResponseResponse(body: String? = null, originalSize: Int, encodedSize: Int)

Represents response frame that is returned from Audits#getEncodedResponse operation call. Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

Properties

body

val body: String?

The encoded body as a base64 string. Omitted if sizeOnly is true.

encodedSize

val encodedSize: Int

Size after re-encoding.

originalSize

val originalSize: Int

Size before re-encoding.