Available on crate features
Network and Debugger and Runtime and Security only.Expand description
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.
Structs§
- Auth
Challenge experimental - Authorization challenge for HTTP status code 401 or 407.
- Auth
Challenge Builder experimental - Auth
Challenge Response experimental - Response to an AuthChallenge.
- Blocked
Cookie With Reason experimental - A cookie with was not sent with a request with the corresponding reason.
- Blocked
SetCookie With Reason experimental - A cookie which was not stored from a response with the corresponding reason.
- Cached
Resource - Information about the cached resource.
- Cached
Resource Builder - CanClear
Browser Cache Command Deprecated - Tells whether clearing browser cache is supported.
- CanClear
Browser Cache Return Deprecated - Tells whether clearing browser cache is supported.
- CanClear
Browser Cookies Command Deprecated - Tells whether clearing browser cookies is supported.
- CanClear
Browser Cookies Return Deprecated - Tells whether clearing browser cookies is supported.
- CanEmulate
Network Conditions Command Deprecated - Tells whether emulation of network conditions is supported.
- CanEmulate
Network Conditions Return Deprecated - Tells whether emulation of network conditions is supported.
- Clear
Accepted Encodings Override Command experimental - Clears accepted encodings set by setAcceptedEncodings
- Clear
Accepted Encodings Override Return experimental - Clears accepted encodings set by setAcceptedEncodings
- Clear
Browser Cache Command - Clears browser cache.
- Clear
Browser Cache Return - Clears browser cache.
- Clear
Browser Cookies Command - Clears browser cookies.
- Clear
Browser Cookies Return - Clears browser cookies.
- Client
Security State experimental - Continue
Intercepted Request Command Deprecated experimental - Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
- Continue
Intercepted Request Command Builder Deprecated experimental - Continue
Intercepted Request Return Deprecated experimental - Response to Network.requestIntercepted which either modifies the request to continue with any modifications, or blocks it, or completes it with the provided response bytes. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId. Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
- Cookie
- Cookie object
- Cookie
Builder - Cookie
Param - Cookie parameter object
- Cookie
Param Builder - Cors
Error Status - Cross
Origin Embedder Policy Status experimental - Cross
Origin Embedder Policy Status Builder experimental - Cross
Origin Opener Policy Status experimental - Cross
Origin Opener Policy Status Builder experimental - Data
Received Event - Fired when data chunk was received over the network.
- Data
Received Event Builder - Delete
Cookies Command - Deletes browser cookies with matching name and url or domain/path pair.
- Delete
Cookies Command Builder - Delete
Cookies Return - Deletes browser cookies with matching name and url or domain/path pair.
- Disable
Command - Disables network tracking, prevents network events from being sent to the client.
- Disable
Return - Disables network tracking, prevents network events from being sent to the client.
- Emulate
Network Conditions Command - Activates emulation of network conditions.
- Emulate
Network Conditions Command Builder - Emulate
Network Conditions Return - Activates emulation of network conditions.
- Enable
Command - Enables network tracking, network events will now be delivered to the client.
- Enable
Return - Enables network tracking, network events will now be delivered to the client.
- Event
Source Message Received Event - Fired when EventSource message is received.
- Event
Source Message Received Event Builder - GetAll
Cookies Command - Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the
cookiesfield. - GetAll
Cookies Return - Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the
cookiesfield. - GetCertificate
Command experimental - Returns the DER-encoded certificate.
- GetCertificate
Return experimental - Returns the DER-encoded certificate.
- GetCookies
Command - Returns all browser cookies for the current URL. Depending on the backend support, will return
detailed cookie information in the
cookiesfield. - GetCookies
Return - Returns all browser cookies for the current URL. Depending on the backend support, will return
detailed cookie information in the
cookiesfield. - GetRequest
Post Data Command - Returns post data sent with the request. Returns an error when no data was sent with the request.
- GetRequest
Post Data Return - Returns post data sent with the request. Returns an error when no data was sent with the request.
- GetResponse
Body Command - Returns content served for the given request.
- GetResponse
Body ForInterception Command experimental - Returns content served for the given currently intercepted request.
- GetResponse
Body ForInterception Return experimental - Returns content served for the given currently intercepted request.
- GetResponse
Body Return - Returns content served for the given request.
- GetSecurity
Isolation Status Command experimental - Returns information about the COEP/COOP isolation status.
- GetSecurity
Isolation Status Return experimental - Returns information about the COEP/COOP isolation status.
- Headers
- Request / response headers as keys / values of JSON object.
- Initiator
- Information about the request initiator.
- Initiator
Builder - Interception
Id - Unique intercepted request identifier.
- Load
Network Resource Command experimental - Fetches the resource and returns the content.
- Load
Network Resource Options experimental - An options object that may be extended later to better support CORS, CORB and streaming.
- Load
Network Resource Page Result experimental - An object providing the result of a network resource load.
- Load
Network Resource Page Result Builder experimental - Load
Network Resource Return experimental - Fetches the resource and returns the content.
- Loader
Id - Unique loader identifier.
- Loading
Failed Event - Fired when HTTP request has failed to load.
- Loading
Failed Event Builder - Loading
Finished Event - Fired when HTTP request has finished loading.
- Loading
Finished Event Builder - Monotonic
Time - Monotonically increasing time in seconds since an arbitrary point in the past.
- Post
Data Entry - Post data entry for HTTP request
- Replay
XhrCommand experimental - This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.
- Replay
XhrReturn experimental - This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password.
- Request
- HTTP request data.
- Request
Builder - Request
Id - Unique request identifier.
- Request
Intercepted Event Deprecated experimental - Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
- Request
Intercepted Event Builder Deprecated experimental - Request
Pattern experimental - Request pattern for interception.
- Request
Served From Cache Event - Fired if request ended up loading from cache.
- Request
Will BeSent Event - Fired when page is about to send HTTP request.
- Request
Will BeSent Event Builder - Request
Will BeSent Extra Info Event experimental - Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
- Request
Will BeSent Extra Info Event Builder experimental - Resource
Changed Priority Event experimental - Fired when resource loading priority is changed
- Resource
Timing - Timing information for the request.
- Resource
Timing Builder - Response
- HTTP response data.
- Response
Builder - Response
Received Event - Fired when HTTP response is available.
- Response
Received Event Builder - Response
Received Extra Info Event experimental - Fired when additional information about a responseReceived event is available from the network stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for it, and responseReceivedExtraInfo may be fired before or after responseReceived.
- Response
Received Extra Info Event Builder experimental - Search
InResponse Body Command experimental - Searches for given string in response content.
- Search
InResponse Body Command Builder experimental - Search
InResponse Body Return experimental - Searches for given string in response content.
- Security
Details - Security details about a request.
- Security
Details Builder - Security
Isolation Status experimental - SetAccepted
Encodings Command experimental - Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
- SetAccepted
Encodings Return experimental - Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
- SetAttach
Debug Stack Command experimental - Specifies whether to attach a page script stack id in requests
- SetAttach
Debug Stack Return experimental - Specifies whether to attach a page script stack id in requests
- SetBlocked
UrLs Command experimental - Blocks URLs from loading.
- SetBlocked
UrLs Return experimental - Blocks URLs from loading.
- SetBypass
Service Worker Command experimental - Toggles ignoring of service worker for each request.
- SetBypass
Service Worker Return experimental - Toggles ignoring of service worker for each request.
- SetCache
Disabled Command - Toggles ignoring cache for each request. If
true, cache will not be used. - SetCache
Disabled Return - Toggles ignoring cache for each request. If
true, cache will not be used. - SetCookie
Command - Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
- SetCookie
Command Builder - SetCookie
Return - Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
- SetCookies
Command - Sets given cookies.
- SetCookies
Return - Sets given cookies.
- SetData
Size Limits ForTest Command experimental - For testing.
- SetData
Size Limits ForTest Return experimental - For testing.
- SetExtra
Http Headers Command - Specifies whether to always send extra HTTP headers with the requests from this page.
- SetExtra
Http Headers Return - Specifies whether to always send extra HTTP headers with the requests from this page.
- SetRequest
Interception Command Deprecated experimental - Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.
- SetRequest
Interception Return Deprecated experimental - Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.
- SetUser
Agent Override Command - Allows overriding user agent with the given string.
- SetUser
Agent Override Command Builder - SetUser
Agent Override Return - Allows overriding user agent with the given string.
- Signed
Certificate Timestamp - Details of a signed certificate timestamp (SCT).
- Signed
Certificate Timestamp Builder - Signed
Exchange Error experimental - Information about a signed exchange response.
- Signed
Exchange Header experimental - Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
- Signed
Exchange Header Builder experimental - Signed
Exchange Info experimental - Information about a signed exchange response.
- Signed
Exchange Info Builder experimental - Signed
Exchange Received Event experimental - Fired when a signed exchange was received over the network
- Signed
Exchange Signature experimental - Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
- Signed
Exchange Signature Builder experimental - Take
Response Body ForInterception AsStream Command experimental - Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can’t be continued as is – you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified.
- Take
Response Body ForInterception AsStream Return experimental - Returns a handle to the stream representing the response body. Note that after this command, the intercepted request can’t be continued as is – you either need to cancel it or to provide the response body. The stream only supports sequential read, IO.read will fail if the position is specified.
- Time
Since Epoch - UTC time in seconds, counted from January 1, 1970.
- Trust
Token Operation Done Event experimental - Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.
- Trust
Token Operation Done Event Builder experimental - Trust
Token Params experimental - Determines what type of Trust Token operation is executed and depending on the type, some additional parameters. The values are specified in third_party/blink/renderer/core/fetch/trust_token.idl.
- WebSocket
Closed Event - Fired when WebSocket is closed.
- WebSocket
Created Event - Fired upon WebSocket creation.
- WebSocket
Frame - WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
- WebSocket
Frame Error Event - Fired when WebSocket message error occurs.
- WebSocket
Frame Received Event - Fired when WebSocket message is received.
- WebSocket
Frame Sent Event - Fired when WebSocket message is sent.
- WebSocket
Handshake Response Received Event - Fired when WebSocket handshake response becomes available.
- WebSocket
Request - WebSocket request data.
- WebSocket
Response - WebSocket response data.
- WebSocket
Response Builder - WebSocket
Will Send Handshake Request Event - Fired when WebSocket is about to initiate handshake.
- WebSocket
Will Send Handshake Request Event Builder - WebTransport
Closed Event - Fired when WebTransport is disposed.
- WebTransport
Connection Established Event - Fired when WebTransport handshake is finished.
- WebTransport
Created Event - Fired upon WebTransport creation.
- WebTransport
Created Event Builder
Enums§
- Auth
Challenge Response Response - Auth
Challenge Source - Blocked
Reason - Certificate
Transparency Compliance - Connection
Type - Content
Encoding experimental - Cookie
Blocked Reason experimental - Cookie
Priority experimental - Cookie
Same Site - Cookie
Source Scheme experimental - Cors
Error - Cross
Origin Embedder Policy Value experimental - Cross
Origin Opener Policy Value experimental - Error
Reason - Initiator
Type - Interception
Stage experimental - IpAddress
Space experimental - Private
Network Request Policy experimental - Request
Referrer Policy - Resource
Priority - Resource
Type - Service
Worker Response Source - SetCookie
Blocked Reason experimental - Signed
Exchange Error Field experimental - Trust
Token Operation Done Event Status - Trust
Token Operation Type experimental - Trust
Token Params Refresh Policy