Module chrome_remote_interface_model::network [−][src]
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
experimental
Authorization challenge for HTTP status code 401 or 407.
experimental
experimental
Response to an AuthChallenge.
experimental
A cookie with was not sent with a request with the corresponding reason.
experimental
A cookie which was not stored from a response with the corresponding reason.
Information about the cached resource.
Tells whether clearing browser cache is supported.
Tells whether clearing browser cache is supported.
Tells whether clearing browser cookies is supported.
Tells whether clearing browser cookies is supported.
Tells whether emulation of network conditions is supported.
Tells whether emulation of network conditions is supported.
experimental
Clears accepted encodings set by setAcceptedEncodings
experimental
Clears accepted encodings set by setAcceptedEncodings
Clears browser cache.
Clears browser cache.
Clears browser cookies.
Clears browser cookies.
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.
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 object
Cookie parameter object
experimental
experimental
experimental
experimental
Fired when data chunk was received over the network.
Deletes browser cookies with matching name and url or domain/path pair.
Deletes browser cookies with matching name and url or domain/path pair.
Disables network tracking, prevents network events from being sent to the client.
Disables network tracking, prevents network events from being sent to the client.
Activates emulation of network conditions.
Activates emulation of network conditions.
Enables network tracking, network events will now be delivered to the client.
Enables network tracking, network events will now be delivered to the client.
Fired when EventSource message is received.
Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the cookies
field.
Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the cookies
field.
experimental
Returns the DER-encoded certificate.
experimental
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 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 post data sent with the request. Returns an error when no data was sent with the request.
Returns content served for the given request.
experimental
Returns content served for the given currently intercepted request.
experimental
Returns content served for the given currently intercepted request.
Returns content served for the given request.
experimental
Returns information about the COEP/COOP isolation status.
experimental
Returns information about the COEP/COOP isolation status.
Request / response headers as keys / values of JSON object.
Information about the request initiator.
Unique intercepted request identifier.
experimental
Fetches the resource and returns the content.
experimental
An options object that may be extended later to better support CORS, CORB and streaming.
experimental
An object providing the result of a network resource load.
experimental
experimental
Fetches the resource and returns the content.
Unique loader identifier.
Fired when HTTP request has failed to load.
Fired when HTTP request has finished loading.
Monotonically increasing time in seconds since an arbitrary point in the past.
Post data entry for HTTP request
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.
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.
HTTP request data.
Unique request identifier.
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.
experimental
Request pattern for interception.
Fired if request ended up loading from cache.
Fired when page is about to send HTTP request.
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.
experimental
experimental
Fired when resource loading priority is changed
Timing information for the request.
HTTP response data.
Fired when HTTP response is available.
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.
experimental
experimental
Searches for given string in response content.
experimental
experimental
Searches for given string in response content.
Security details about a request.
experimental
experimental
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
experimental
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
experimental
Specifies whether to attach a page script stack id in requests
experimental
Specifies whether to attach a page script stack id in requests
experimental
Blocks URLs from loading.
experimental
Blocks URLs from loading.
experimental
Toggles ignoring of service worker for each request.
experimental
Toggles ignoring of service worker for each request.
Toggles ignoring cache for each request. If true
, cache will not be used.
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 a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
Sets given cookies.
Sets given cookies.
experimental
For testing.
experimental
For testing.
Specifies whether to always send extra HTTP headers with the requests from this page.
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.
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.
Allows overriding user agent with the given string.
Details of a signed certificate timestamp (SCT).
experimental
Information about a signed exchange response.
experimental
Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
experimental
experimental
Information about a signed exchange response.
experimental
experimental
Fired when a signed exchange was received over the network
experimental
Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
experimental
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.
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.
UTC time in seconds, counted from January 1, 1970.
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.
experimental
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.
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.
WebSocket response data.
Fired when WebSocket is about to initiate handshake.
Fired when WebTransport is disposed.
Fired when WebTransport handshake is finished.
Fired upon WebTransport creation.
Enums
experimental
experimental
experimental
experimental
experimental
experimental
experimental
experimental
experimental
experimental
experimental
experimental