pl.wendigo.chrome.domain.audits / GetEncodedResponseResponse

GetEncodedResponseResponse

data class GetEncodedResponseResponse (source)

Represents response frame for Audits.getEncodedResponse method call.

Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

Constructors

<init>

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

Represents response frame for Audits.getEncodedResponse method call.

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.