Network
Types
The reason why Chrome uses a specific transport protocol for HTTP semantics.
A cookie associated with the request which may or may not be sent with it. Includes the cookies itself and reasons for blocking or exemption.
Authorization challenge for HTTP status code 401 or 407.
Response to an AuthChallenge.
The reason why request was blocked.
A cookie which was not stored from a response with the corresponding reason.
Information about the cached resource.
Whether the request complied with Certificate Transparency policy.
The underlying connection technology that the browser is supposedly using.
List of content encodings supported by the backend.
Cookie object
Types of reasons why a cookie may not be sent with a request.
Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
Cookie parameter object
cookiePartitionKey object The representation of the components of the key that are created by the cookiePartitionKey class contained in net/cookies/cookie_partition_key.h.
Represents the cookie's 'Priority' status: https://tools.ietf.org/html/draft-west-cookie-priority-00
Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies
Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.
The reason why request was blocked.
Fired when direct_socket.TCPSocket is aborted.
Fired when data is received from tcp direct socket stream.
Fired when data is sent to tcp direct socket stream.
Fired when direct_socket.TCPSocket is closed.
Fired upon direct_socket.TCPSocket creation.
Fired when direct_socket.UDPSocket is aborted.
Fired when message is received from udp direct socket stream.
Fired when message is sent to udp direct socket stream.
Fired when direct_socket.UDPSocket is closed.
Fired upon direct_socket.UDPSocket creation.
Network level fetch failure reason.
A cookie should have been blocked by 3PCD but is exempted and stored from a response with the corresponding reason. A cookie could only have at most one exemption reason.
Stages of the interception to begin intercepting. Request will intercept before the request is sent. Response will intercept after the response is received.
Fired when HTTP request has failed to load.
Fired when HTTP request has finished loading.
An options object that may be extended later to better support CORS, CORB and streaming.
An object providing the result of a network resource load.
Post data entry for HTTP request
An object representing a report generated by the Reporting API.
Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.
The status of a Reporting API report.
HTTP request data.
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
Request pattern for interception.
Fired if request ended up loading from cache.
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.
Fired when page is about to send HTTP request.
Fired when resource loading priority is changed
Loading priority of a resource request.
Timing information for the request.
Resource type as it was perceived by the rendering engine.
HTTP response data.
Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
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.
Fired when HTTP response is available.
Security details about a request.
Source of serviceworker response.
Source of service worker router.
Types of reasons why a cookie may not be stored from a response.
Information about a signed exchange response.
Field type for a signed exchange related error.
Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
Information about a signed exchange response.
Fired when a signed exchange was received over the network
Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
Fired when request for resources within a .wbn file failed.
Fired when handling requests for resources within a .wbn file. Note: this will only be fired for resources that are requested by the webpage.
Fired once when parsing the .wbn file has failed.
Fired once when parsing the .wbn file has succeeded. The event contains the information about the web bundle contents.
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.
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.
Fired when WebSocket is closed.
Fired upon WebSocket creation.
WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
Fired when WebSocket message error occurs.
Fired when WebSocket message is received.
Fired when WebSocket message is sent.
Fired when WebSocket handshake response becomes available.
WebSocket request data.
Fired when WebSocket is about to initiate handshake.
Fired when WebTransport is disposed.
Fired when WebTransport handshake is finished.
Fired upon WebTransport creation.
Properties
Fired when data chunk was received over the network.
Fired when direct_socket.TCPSocket is aborted.
Fired when data is received from tcp direct socket stream.
Fired when data is sent to tcp direct socket stream.
Fired when direct_socket.TCPSocket is closed.
Fired upon direct_socket.TCPSocket creation.
Fired when direct_socket.TCPSocket connection is opened.
Fired when direct_socket.UDPSocket is aborted.
Fired when message is received from udp direct socket stream.
Fired when message is sent to udp direct socket stream.
Fired when direct_socket.UDPSocket is closed.
Fired upon direct_socket.UDPSocket creation.
Fired when direct_socket.UDPSocket connection is opened.
Fired when EventSource message is received.
Fired when HTTP request has failed to load.
Fired when HTTP request has finished loading.
Fired once security policy has been updated.
Is sent whenever a new report is added. And after 'enableReportingApi' for all existing reports.
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
Fired if request ended up loading from cache.
Fired when page is about to send HTTP request.
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.
Fired when resource loading priority is changed
Fired when HTTP response is available.
Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
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.
Fired when a signed exchange was received over the network
Fired when request for resources within a .wbn file failed.
Fired when handling requests for resources within a .wbn file. Note: this will only be fired for resources that are requested by the webpage.
Fired once when parsing the .wbn file has failed.
Fired once when parsing the .wbn file has succeeded. The event contains the information about the web bundle contents.
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.
Fired when WebSocket is closed.
Fired upon WebSocket creation.
Fired when WebSocket message error occurs.
Fired when WebSocket message is received.
Fired when WebSocket message is sent.
Fired when WebSocket handshake response becomes available.
Fired when WebSocket is about to initiate handshake.
Fired when WebTransport is disposed.
Fired when WebTransport handshake is finished.
Fired upon WebTransport creation.
Functions
Tells whether clearing browser cache is supported.
Tells whether clearing browser cookies is supported.
Tells whether emulation of network conditions is supported.
Clears accepted encodings set by setAcceptedEncodings
Clears browser cache.
Clears browser cookies.
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.
Deletes browser cookies with matching name and url or domain/path/partitionKey pair.
Disables network tracking, prevents network events from being sent to the client.
Activates emulation of network conditions.
Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client. Enabling triggers 'reportingApiReportAdded' for all existing reports.
Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies
field. Deprecated. Use Storage.getCookies instead.
Returns the DER-encoded certificate.
Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies
field.
Returns post data sent with the request. Returns an error when no data was sent with the request.
Returns content served for the given request.
Returns content served for the given currently intercepted request.
Returns information about the COEP/COOP isolation status.
Fetches the resource and returns the content.
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.
Searches for given string in response content.
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
Specifies whether to attach a page script stack id in requests
Blocks URLs from loading.
Toggles ignoring of service worker for each request.
Toggles ignoring cache for each request. If true
, cache will not be used.
Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
Sets Controls for third-party cookie access Page reload is required before the new cookie behavior will be observed
Sets given cookies.
Specifies whether to always send extra HTTP headers with the requests from this page.
Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.
Allows overriding user agent with the given string.
Enables streaming of the response for the given requestId. If enabled, the dataReceived event contains the data that was received during streaming.
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.