Contains DevTools Protocol Network domain implementation accessible via NetworkOperations class.
data class AuthChallenge
Authorization challenge for HTTP status code 401 or 407. |
|
data class AuthChallengeResponse
Response to an AuthChallenge. |
|
data class BlockedCookieWithReason
A cookie with was not sent with a request with the corresponding reason. |
|
enum class BlockedReason
The reason why request was blocked. |
|
data class BlockedSetCookieWithReason
A cookie which was not stored from a response with the corresponding reason. |
|
data class CachedResource
Information about the cached resource. |
|
data class CanClearBrowserCacheResponse
Represents response frame that is returned from Network#canClearBrowserCache operation call. Tells whether clearing browser cache is supported. |
|
data class CanClearBrowserCookiesResponse
Represents response frame that is returned from Network#canClearBrowserCookies operation call. Tells whether clearing browser cookies is supported. |
|
data class CanEmulateNetworkConditionsResponse
Represents response frame that is returned from Network#canEmulateNetworkConditions operation call. Tells whether emulation of network conditions is supported. |
|
enum class CertificateTransparencyCompliance
Whether the request complied with Certificate Transparency policy. |
|
enum class ConnectionType
The underlying connection technology that the browser is supposedly using. |
|
data class ContinueInterceptedRequestRequest
Represents request frame that can be used with Network#continueInterceptedRequest operation call. |
|
data class Cookie
Cookie object |
|
enum class CookieBlockedReason
Types of reasons why a cookie may not be sent with a request. |
|
data class CookieParam
Cookie parameter object |
|
enum class CookieSameSite
Represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies |
|
data class DataReceivedEvent : Event
Fired when data chunk was received over the network. |
|
data class DeleteCookiesRequest
Represents request frame that can be used with Network#deleteCookies operation call. |
|
data class EmulateNetworkConditionsRequest
Represents request frame that can be used with Network#emulateNetworkConditions operation call. |
|
data class EnableRequest
Represents request frame that can be used with Network#enable operation call. |
|
enum class ErrorReason
Network level fetch failure reason. |
|
data class EventSourceMessageReceivedEvent : Event
Fired when EventSource message is received. |
|
data class GetAllCookiesResponse
Represents response frame that is returned from Network#getAllCookies operation call.
Returns all browser cookies. Depending on the backend support, will return detailed cookie
information in the |
|
data class GetCertificateRequest
Represents request frame that can be used with Network#getCertificate operation call. |
|
data class GetCertificateResponse
Represents response frame that is returned from Network#getCertificate operation call. Returns the DER-encoded certificate. |
|
data class GetCookiesRequest
Represents request frame that can be used with Network#getCookies operation call. |
|
data class GetCookiesResponse
Represents response frame that is returned from Network#getCookies operation call.
Returns all browser cookies for the current URL. Depending on the backend support, will return
detailed cookie information in the |
|
data class GetRequestPostDataRequest
Represents request frame that can be used with Network#getRequestPostData operation call. |
|
data class GetRequestPostDataResponse
Represents response frame that is returned from Network#getRequestPostData operation call. Returns post data sent with the request. Returns an error when no data was sent with the request. |
|
data class GetResponseBodyForInterceptionRequest
Represents request frame that can be used with Network#getResponseBodyForInterception operation call. |
|
data class GetResponseBodyForInterceptionResponse
Represents response frame that is returned from Network#getResponseBodyForInterception operation call. Returns content served for the given currently intercepted request. |
|
data class GetResponseBodyRequest
Represents request frame that can be used with Network#getResponseBody operation call. |
|
data class GetResponseBodyResponse
Represents response frame that is returned from Network#getResponseBody operation call. Returns content served for the given request. |
|
data class Initiator
Information about the request initiator. |
|
enum class InterceptionStage
Stages of the interception to begin intercepting. Request will intercept before the request is sent. Response will intercept after the response is received. |
|
data class LoadingFailedEvent : Event
Fired when HTTP request has failed to load. |
|
data class LoadingFinishedEvent : Event
Fired when HTTP request has finished loading. |
|
class NetworkOperations
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. |
|
data class ReplayXHRRequest
Represents request frame that can be used with Network#replayXHR operation call. |
|
data class Request
HTTP request data. |
|
data class RequestInterceptedEvent : Event
Details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked. Deprecated, use Fetch.requestPaused instead. |
|
data class RequestPattern
Request pattern for interception. |
|
data class RequestServedFromCacheEvent : Event
Fired if request ended up loading from cache. |
|
data class RequestWillBeSentEvent : Event
Fired when page is about to send HTTP request. |
|
data class RequestWillBeSentExtraInfoEvent : Event
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. |
|
data class ResourceChangedPriorityEvent : Event
Fired when resource loading priority is changed |
|
enum class ResourcePriority
Loading priority of a resource request. |
|
data class ResourceTiming
Timing information for the request. |
|
enum class ResourceType
Resource type as it was perceived by the rendering engine. |
|
data class Response
HTTP response data. |
|
data class ResponseReceivedEvent : Event
Fired when HTTP response is available. |
|
data class ResponseReceivedExtraInfoEvent : 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. |
|
data class SearchInResponseBodyRequest
Represents request frame that can be used with Network#searchInResponseBody operation call. |
|
data class SearchInResponseBodyResponse
Represents response frame that is returned from Network#searchInResponseBody operation call. Searches for given string in response content. |
|
data class SecurityDetails
Security details about a request. |
|
data class SetBlockedURLsRequest
Represents request frame that can be used with Network#setBlockedURLs operation call. |
|
data class SetBypassServiceWorkerRequest
Represents request frame that can be used with Network#setBypassServiceWorker operation call. |
|
data class SetCacheDisabledRequest
Represents request frame that can be used with Network#setCacheDisabled operation call. |
|
enum class SetCookieBlockedReason
Types of reasons why a cookie may not be stored from a response. |
|
data class SetCookieRequest
Represents request frame that can be used with Network#setCookie operation call. |
|
data class SetCookieResponse
Represents response frame that is returned from Network#setCookie operation call. Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist. |
|
data class SetCookiesRequest
Represents request frame that can be used with Network#setCookies operation call. |
|
data class SetDataSizeLimitsForTestRequest
Represents request frame that can be used with Network#setDataSizeLimitsForTest operation call. |
|
data class SetExtraHTTPHeadersRequest
Represents request frame that can be used with Network#setExtraHTTPHeaders operation call. |
|
data class SetRequestInterceptionRequest
Represents request frame that can be used with Network#setRequestInterception operation call. |
|
data class SetUserAgentOverrideRequest
Represents request frame that can be used with Network#setUserAgentOverride operation call. |
|
data class SignedCertificateTimestamp
Details of a signed certificate timestamp (SCT). |
|
data class SignedExchangeError
Information about a signed exchange response. |
|
enum class SignedExchangeErrorField
Field type for a signed exchange related error. |
|
data class SignedExchangeHeader
Information about a signed exchange header. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation |
|
data class SignedExchangeInfo
Information about a signed exchange response. |
|
data class SignedExchangeReceivedEvent : Event
Fired when a signed exchange was received over the network |
|
data class SignedExchangeSignature
Information about a signed exchange signature. https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1 |
|
data class TakeResponseBodyForInterceptionAsStreamRequest
Represents request frame that can be used with Network#takeResponseBodyForInterceptionAsStream operation call. |
|
data class TakeResponseBodyForInterceptionAsStreamResponse
Represents response frame that is returned from Network#takeResponseBodyForInterceptionAsStream operation call. 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. |
|
data class WebSocketClosedEvent : Event
Fired when WebSocket is closed. |
|
data class WebSocketCreatedEvent : Event
Fired upon WebSocket creation. |
|
data class WebSocketFrame
WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests. |
|
data class WebSocketFrameErrorEvent : Event
Fired when WebSocket message error occurs. |
|
data class WebSocketFrameReceivedEvent : Event
Fired when WebSocket message is received. |
|
data class WebSocketFrameSentEvent : Event
Fired when WebSocket message is sent. |
|
data class WebSocketHandshakeResponseReceivedEvent : Event
Fired when WebSocket handshake response becomes available. |
|
data class WebSocketRequest
WebSocket request data. |
|
data class WebSocketResponse
WebSocket response data. |
|
data class WebSocketWillSendHandshakeRequestEvent : Event
Fired when WebSocket is about to initiate handshake. |
typealias Headers = Map<String, Any>
Request / response headers as keys / values of JSON object. |
|
typealias InterceptionId = String
Unique intercepted request identifier. |
|
typealias LoaderId = String
Unique loader identifier. |
|
typealias MonotonicTime = Double
Monotonically increasing time in seconds since an arbitrary point in the past. |
|
typealias RequestId = String
Unique request identifier. |
|
typealias TimeSinceEpoch = Double
UTC time in seconds, counted from January 1, 1970. |