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
interface WebSocketClosedEventDataType
interface WebSocketCreatedEventDataType
- 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-inspectionflag enabled.Broadcasts the
Network.dataReceivedevent to connected frontends, or buffers the data ifNetwork.streamResourceContentcommand was not invoked for the given request yet.Also enables
Network.getResponseBodycommand to retrieve the response data. - params: unknown): void;
This feature is only available with the
--experimental-network-inspectionflag enabled.Enables
Network.getRequestPostDatacommand to retrieve the request data. - ): void;
This feature is only available with the
--experimental-network-inspectionflag enabled.Broadcasts the
Network.loadingFailedevent to connected frontends. This event indicates that HTTP request has failed to load. - ): void;
This feature is only available with the
--experimental-network-inspectionflag enabled.Broadcasts the
Network.loadingFinishedevent to connected frontends. This event indicates that HTTP request has finished loading. - ): void;
This feature is only available with the
--experimental-network-inspectionflag enabled.Broadcasts the
Network.requestWillBeSentevent 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-inspectionflag enabled.Broadcasts the
Network.responseReceivedevent to connected frontends. This event indicates that HTTP response is available. - ): void;
This feature is only available with the
--experimental-network-inspectionflag enabled.Broadcasts the
Network.webSocketClosedevent to connected frontends. This event indicates that a WebSocket connection has been closed. - ): void;
This feature is only available with the
--experimental-network-inspectionflag enabled.Broadcasts the
Network.webSocketCreatedevent to connected frontends. This event indicates that a WebSocket connection has been initiated. - ): void;
This feature is only available with the
--experimental-network-inspectionflag enabled.Broadcasts the
Network.webSocketHandshakeResponseReceivedevent to connected frontends. This event indicates that the WebSocket handshake response has been received.