EnableParameter

@Serializable
data class EnableParameter(val maxTotalBufferSize: Int? = null, val maxResourceBufferSize: Int? = null, val maxPostDataSize: Int? = null, val reportDirectSocketTraffic: Boolean? = null, val enableDurableMessages: Boolean? = null)

Constructors

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

Properties

Link copied to clipboard

Enable storing response bodies outside of renderer, so that these survive a cross-process navigation. Requires maxTotalBufferSize to be set. Currently defaults to false. This field is being deprecated in favor of the dedicated configureDurableMessages command, due to the possibility of deadlocks when awaiting Network.enable before issuing Runtime.runIfWaitingForDebugger.

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). This is the maximum number of bytes that will be collected by this DevTools session.

Link copied to clipboard

Whether DirectSocket chunk send/receive events should be reported.