Chrome DevTools

Network Domain

Network domain allows tracking network activities of the page. It exposes information about http, file, data and other requests and responses, their headers, bodies, timing, etc.

Methods

Types

Methods

React NativeChrome DevTools

Network.enable #

Enables network tracking, network events will now be delivered to the client.

Parameters

maxTotalBufferSize
Optional
integer

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

Experimental
maxResourceBufferSize
Optional
integer

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

Experimental
maxPostDataSize
Optional
integer

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


React NativeChrome DevTools

Network.loadNetworkResource Experimental#

Fetches the resource and returns the content.

Parameters

frameId
Optional
Page.FrameId

Frame id to get the resource for. Mandatory for frame targets, and should be omitted for worker targets.

url
string

URL of the resource to get content for.

options
LoadNetworkResourceOptions

Options for the request.

Return object

Types

Chrome DevTools

Network.Headers #

Request / response headers as keys / values of JSON object.

Type: object


Chrome DevTools

Network.LoaderId #

Unique loader identifier.

Type: string


Chrome DevTools

Network.RequestId #

Unique network request identifier. Note that this does not identify individual HTTP requests that are part of a network request.

Type: string