Builder

class Builder

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

Constructors

Link copied to clipboard
constructor()

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

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

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.

Functions

Link copied to clipboard