Module chrome_remote_interface_model::network[][src]

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

AuthChallenge

Authorization challenge for HTTP status code 401 or 407.

AuthChallengeBuilder
AuthChallengeResponse

Response to an AuthChallenge.

BlockedCookieWithReason

A cookie with was not sent with a request with the corresponding reason.

BlockedSetCookieWithReason

A cookie which was not stored from a response with the corresponding reason.

CachedResource

Information about the cached resource.

CachedResourceBuilder
CanClearBrowserCacheCommandDeprecated

Tells whether clearing browser cache is supported.

CanClearBrowserCacheReturnDeprecated

Tells whether clearing browser cache is supported.

CanClearBrowserCookiesCommandDeprecated

Tells whether clearing browser cookies is supported.

CanClearBrowserCookiesReturnDeprecated

Tells whether clearing browser cookies is supported.

CanEmulateNetworkConditionsCommandDeprecated

Tells whether emulation of network conditions is supported.

CanEmulateNetworkConditionsReturnDeprecated

Tells whether emulation of network conditions is supported.

ClearBrowserCacheCommand

Clears browser cache.

ClearBrowserCacheReturn

Clears browser cache.

ClearBrowserCookiesCommand

Clears browser cookies.

ClearBrowserCookiesReturn

Clears browser cookies.

ContinueInterceptedRequestCommandDeprecated

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.

ContinueInterceptedRequestCommandBuilderDeprecated
ContinueInterceptedRequestReturnDeprecated

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

CookieBuilder
CookieParam

Cookie parameter object

CookieParamBuilder
CorsErrorStatus
CrossOriginEmbedderPolicyStatus
CrossOriginEmbedderPolicyStatusBuilder
CrossOriginOpenerPolicyStatus
CrossOriginOpenerPolicyStatusBuilder
DataReceivedEvent

Fired when data chunk was received over the network.

DataReceivedEventBuilder
DeleteCookiesCommand

Deletes browser cookies with matching name and url or domain/path pair.

DeleteCookiesCommandBuilder
DeleteCookiesReturn

Deletes browser cookies with matching name and url or domain/path pair.

DisableCommand

Disables network tracking, prevents network events from being sent to the client.

DisableReturn

Disables network tracking, prevents network events from being sent to the client.

EmulateNetworkConditionsCommand

Activates emulation of network conditions.

EmulateNetworkConditionsCommandBuilder
EmulateNetworkConditionsReturn

Activates emulation of network conditions.

EnableCommand

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

EnableReturn

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

EventSourceMessageReceivedEvent

Fired when EventSource message is received.

EventSourceMessageReceivedEventBuilder
GetAllCookiesCommand

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field.

GetAllCookiesReturn

Returns all browser cookies. Depending on the backend support, will return detailed cookie information in the cookies field.

GetCertificateCommand

Returns the DER-encoded certificate.

GetCertificateReturn

Returns the DER-encoded certificate.

GetCookiesCommand

Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies field.

GetCookiesReturn

Returns all browser cookies for the current URL. Depending on the backend support, will return detailed cookie information in the cookies field.

GetRequestPostDataCommand

Returns post data sent with the request. Returns an error when no data was sent with the request.

GetRequestPostDataReturn

Returns post data sent with the request. Returns an error when no data was sent with the request.

GetResponseBodyCommand

Returns content served for the given request.

GetResponseBodyForInterceptionCommand

Returns content served for the given currently intercepted request.

GetResponseBodyForInterceptionReturn

Returns content served for the given currently intercepted request.

GetResponseBodyReturn

Returns content served for the given request.

GetSecurityIsolationStatusCommand

Returns information about the COEP/COOP isolation status.

GetSecurityIsolationStatusReturn

Returns information about the COEP/COOP isolation status.

Headers

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

Initiator

Information about the request initiator.

InitiatorBuilder
InterceptionId

Unique intercepted request identifier.

LoadNetworkResourceCommand

Fetches the resource and returns the content.

LoadNetworkResourceOptions

An options object that may be extended later to better support CORS, CORB and streaming.

LoadNetworkResourcePageResult

An object providing the result of a network resource load.

LoadNetworkResourcePageResultBuilder
LoadNetworkResourceReturn

Fetches the resource and returns the content.

LoaderId

Unique loader identifier.

LoadingFailedEvent

Fired when HTTP request has failed to load.

LoadingFailedEventBuilder
LoadingFinishedEvent

Fired when HTTP request has finished loading.

LoadingFinishedEventBuilder
MonotonicTime

Monotonically increasing time in seconds since an arbitrary point in the past.

PostDataEntry

Post data entry for HTTP request

ReplayXhrCommand

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.

ReplayXhrReturn

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.

RequestBuilder
RequestId

Unique request identifier.

RequestInterceptedEventDeprecated

Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead.

RequestInterceptedEventBuilderDeprecated
RequestPattern

Request pattern for interception.

RequestServedFromCacheEvent

Fired if request ended up loading from cache.

RequestWillBeSentEvent

Fired when page is about to send HTTP request.

RequestWillBeSentEventBuilder
RequestWillBeSentExtraInfoEvent

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.

ResourceChangedPriorityEvent

Fired when resource loading priority is changed

ResourceTiming

Timing information for the request.

ResourceTimingBuilder
Response

HTTP response data.

ResponseBuilder
ResponseReceivedEvent

Fired when HTTP response is available.

ResponseReceivedEventBuilder
ResponseReceivedExtraInfoEvent

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.

ResponseReceivedExtraInfoEventBuilder
SearchInResponseBodyCommand

Searches for given string in response content.

SearchInResponseBodyCommandBuilder
SearchInResponseBodyReturn

Searches for given string in response content.

SecurityDetails

Security details about a request.

SecurityDetailsBuilder
SecurityIsolationStatus
SetAttachDebugStackCommand

Specifies whether to attach a page script stack id in requests

SetAttachDebugStackReturn

Specifies whether to attach a page script stack id in requests

SetBlockedUrLsCommand

Blocks URLs from loading.

SetBlockedUrLsReturn

Blocks URLs from loading.

SetBypassServiceWorkerCommand

Toggles ignoring of service worker for each request.

SetBypassServiceWorkerReturn

Toggles ignoring of service worker for each request.

SetCacheDisabledCommand

Toggles ignoring cache for each request. If true, cache will not be used.

SetCacheDisabledReturn

Toggles ignoring cache for each request. If true, cache will not be used.

SetCookieCommand

Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.

SetCookieCommandBuilder
SetCookieReturn

Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.

SetCookiesCommand

Sets given cookies.

SetCookiesReturn

Sets given cookies.

SetDataSizeLimitsForTestCommand

For testing.

SetDataSizeLimitsForTestReturn

For testing.

SetExtraHttpHeadersCommand

Specifies whether to always send extra HTTP headers with the requests from this page.

SetExtraHttpHeadersReturn

Specifies whether to always send extra HTTP headers with the requests from this page.

SetRequestInterceptionCommandDeprecated

Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.

SetRequestInterceptionReturnDeprecated

Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.

SetUserAgentOverrideCommand

Allows overriding user agent with the given string.

SetUserAgentOverrideCommandBuilder
SetUserAgentOverrideReturn

Allows overriding user agent with the given string.

SignedCertificateTimestamp

Details of a signed certificate timestamp (SCT).

SignedCertificateTimestampBuilder
SignedExchangeError

Information about a signed exchange response.

SignedExchangeHeader

Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation

SignedExchangeHeaderBuilder
SignedExchangeInfo

Information about a signed exchange response.

SignedExchangeInfoBuilder
SignedExchangeReceivedEvent

Fired when a signed exchange was received over the network

SignedExchangeSignature

Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1

SignedExchangeSignatureBuilder
TakeResponseBodyForInterceptionAsStreamCommand

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.

TakeResponseBodyForInterceptionAsStreamReturn

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.

TimeSinceEpoch

UTC time in seconds, counted from January 1, 1970.

TrustTokenParams

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.

WebSocketClosedEvent

Fired when WebSocket is closed.

WebSocketCreatedEvent

Fired upon WebSocket creation.

WebSocketFrame

WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.

WebSocketFrameErrorEvent

Fired when WebSocket message error occurs.

WebSocketFrameReceivedEvent

Fired when WebSocket message is received.

WebSocketFrameSentEvent

Fired when WebSocket message is sent.

WebSocketHandshakeResponseReceivedEvent

Fired when WebSocket handshake response becomes available.

WebSocketRequest

WebSocket request data.

WebSocketResponse

WebSocket response data.

WebSocketResponseBuilder
WebSocketWillSendHandshakeRequestEvent

Fired when WebSocket is about to initiate handshake.

WebSocketWillSendHandshakeRequestEventBuilder

Enums

AuthChallengeResponseResponse
AuthChallengeSource
BlockedReason
CertificateTransparencyCompliance
ConnectionType
CookieBlockedReason
CookiePriority
CookieSameSite
CorsError
CrossOriginEmbedderPolicyValue
CrossOriginOpenerPolicyValue
ErrorReason
InitiatorType
InterceptionStage
RequestReferrerPolicy
ResourcePriority
ResourceType
ServiceWorkerResponseSource
SetCookieBlockedReason
SignedExchangeErrorField
TrustTokenOperationType
TrustTokenParamsRefreshPolicy