Data that was received.
namespace
inspector.Network
namespace Network
interface DataReceivedEventDataType
- encodedDataLength: number
Actual bytes received (might be less than dataLength for compressed encodings).
interface GetRequestPostDataParameterType
interface GetRequestPostDataReturnType
interface GetResponseBodyParameterType
interface GetResponseBodyReturnType
interface Headers
Request / response headers as keys / values of JSON object.
interface Initiator
Information about the request initiator.
- columnNumber?: number
Initiator column number, set for Parser type or for Script type (when script is importing module) (0-based).
- lineNumber?: number
Initiator line number, set for Parser type or for Script type (when script is importing module) (0-based).
- stack?: StackTrace
Initiator JavaScript stack trace, set for Script only. Requires the Debugger domain to be enabled.
- url?: string
Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
interface LoadingFailedEventDataType
interface LoadingFinishedEventDataType
interface LoadNetworkResourcePageResult
interface LoadNetworkResourceParameterType
interface StreamResourceContentParameterType
interface StreamResourceContentReturnType
- type MonotonicTime = number
Monotonically increasing time in seconds since an arbitrary point in the past.
- type RequestId = string
Unique request identifier.
- type ResourceType = string
Resource type as it was perceived by the rendering engine.
- type TimeSinceEpoch = number
UTC time in seconds, counted from January 1, 1970.
- ): void;
This feature is only available with the
--experimental-network-inspection
flag enabled.Broadcasts the
Network.dataReceived
event to connected frontends, or buffers the data ifNetwork.streamResourceContent
command was not invoked for the given request yet.Also enables
Network.getResponseBody
command to retrieve the response data. - params: unknown): void;
This feature is only available with the
--experimental-network-inspection
flag enabled.Enables
Network.getRequestPostData
command to retrieve the request data. - ): void;
This feature is only available with the
--experimental-network-inspection
flag enabled.Broadcasts the
Network.loadingFailed
event to connected frontends. This event indicates that HTTP request has failed to load. - ): void;
This feature is only available with the
--experimental-network-inspection
flag enabled.Broadcasts the
Network.loadingFinished
event to connected frontends. This event indicates that HTTP request has finished loading. - ): void;
This feature is only available with the
--experimental-network-inspection
flag enabled.Broadcasts the
Network.requestWillBeSent
event to connected frontends. This event indicates that the application is about to send an HTTP request. - ): void;
This feature is only available with the
--experimental-network-inspection
flag enabled.Broadcasts the
Network.responseReceived
event to connected frontends. This event indicates that HTTP response is available.