EnableRequest

@Serializable
data class EnableRequest(val maxTotalBufferSize: Int? = null, val maxResourceBufferSize: Int? = null, val maxPostDataSize: Int? = null)

Request object containing input parameters for the NetworkDomain.enable command.

Constructors

Link copied to clipboard
constructor(maxTotalBufferSize: Int? = null, maxResourceBufferSize: Int? = null, maxPostDataSize: Int? = null)

Types

Link copied to clipboard
class Builder

A builder for EnableRequest, which allows setting the optional parameters of the NetworkDomain.enable command via a lambda.

Properties

Link copied to clipboard
val maxPostDataSize: Int? = null

Longest post body size (in bytes) that would be included in requestWillBeSent notification

Link copied to clipboard

Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).

Link copied to clipboard
val maxTotalBufferSize: Int? = null

Buffer size in bytes to use when preserving network payloads (XHRs, etc).