protocol/network library

Classes

AuthChallenge
Authorization challenge for HTTP status code 401 or 407.
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.
ClientSecurityState
ConnectTiming
Cookie object
CookieParam
Cookie parameter object
CorsErrorStatus
CrossOriginEmbedderPolicyStatus
CrossOriginOpenerPolicyStatus
DataReceivedEvent
EventSourceMessageReceivedEvent
GetResponseBodyForInterceptionResult
GetResponseBodyResult
Headers
Request / response headers as keys / values of JSON object.
Initiator
Information about the request initiator.
InterceptionId
Unique intercepted request identifier.
LoaderId
Unique loader identifier.
LoadingFailedEvent
LoadingFinishedEvent
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.
MonotonicTime
Monotonically increasing time in seconds since an arbitrary point in the past.
NetworkApi
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.
PostDataEntry
Post data entry for HTTP request
ReportId
ReportingApiEndpoint
ReportingApiEndpointsChangedForOriginEvent
ReportingApiReport
An object representing a report generated by the Reporting API.
RequestData
HTTP request data.
RequestId
Unique request identifier.
RequestInterceptedEvent
RequestPattern
Request pattern for interception.
RequestWillBeSentEvent
RequestWillBeSentExtraInfoEvent
ResourceChangedPriorityEvent
ResourceTiming
Timing information for the request.
ResponseData
HTTP response data.
ResponseReceivedEvent
ResponseReceivedExtraInfoEvent
SecurityDetails
Security details about a request.
SecurityIsolationStatus
SignedCertificateTimestamp
Details of a signed certificate timestamp (SCT).
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
SignedExchangeInfo
Information about a signed exchange response.
SignedExchangeReceivedEvent
SignedExchangeSignature
Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
SubresourceWebBundleInnerResponseErrorEvent
SubresourceWebBundleInnerResponseParsedEvent
SubresourceWebBundleMetadataErrorEvent
SubresourceWebBundleMetadataReceivedEvent
TimeSinceEpoch
UTC time in seconds, counted from January 1, 1970.
TrustTokenOperationDoneEvent
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
WebSocketCreatedEvent
WebSocketFrame
WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
WebSocketFrameErrorEvent
WebSocketFrameReceivedEvent
WebSocketFrameSentEvent
WebSocketHandshakeResponseReceivedEvent
WebSocketRequest
WebSocket request data.
WebSocketResponse
WebSocket response data.
WebSocketWillSendHandshakeRequestEvent
WebTransportClosedEvent
WebTransportConnectionEstablishedEvent
WebTransportCreatedEvent

Enums

AlternateProtocolUsage
The reason why Chrome uses a specific transport protocol for HTTP semantics.
AuthChallengeResponseResponse
AuthChallengeSource
BlockedReason
The reason why request was blocked.
CertificateTransparencyCompliance
Whether the request complied with Certificate Transparency policy.
ConnectionType
The underlying connection technology that the browser is supposedly using.
ContentEncoding
List of content encodings supported by the backend.
CookieBlockedReason
Types of reasons why a cookie may not be sent with a request.
CookiePriority
Represents the cookie's 'Priority' status: https://tools.ietf.org/html/draft-west-cookie-priority-00
CookieSameSite
Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies
CookieSourceScheme
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.
CorsError
The reason why request was blocked.
CrossOriginEmbedderPolicyValue
CrossOriginOpenerPolicyValue
ErrorReason
Network level fetch failure reason.
InitiatorType
InterceptionStage
Stages of the interception to begin intercepting. Request will intercept before the request is sent. Response will intercept after the response is received.
IPAddressSpace
PrivateNetworkRequestPolicy
ReportStatus
The status of a Reporting API report.
RequestReferrerPolicy
ResourcePriority
Loading priority of a resource request.
ResourceType
Resource type as it was perceived by the rendering engine.
ServiceWorkerResponseSource
Source of serviceworker response.
SetCookieBlockedReason
Types of reasons why a cookie may not be stored from a response.
SignedExchangeErrorField
Field type for a signed exchange related error.
TrustTokenOperationDoneEventStatus
TrustTokenOperationType
TrustTokenParamsRefreshPolicy