package
0.0.0-20200525080501-418ac89e6fd2
Repository: https://github.com/bootgo/cdproto.git
Documentation: pkg.go.dev

# Functions

ClearBrowserCache clears browser cache.
ClearBrowserCookies clears browser cookies.
ContinueInterceptedRequest 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.
DeleteCookies deletes browser cookies with matching name and url or domain/path pair.
Disable disables network tracking, prevents network events from being sent to the client.
EmulateNetworkConditions activates emulation of network conditions.
Enable enables network tracking, network events will now be delivered to the client.
GetAllCookies returns all browser cookies.
GetCertificate returns the DER-encoded certificate.
GetCookies returns all browser cookies for the current URL.
GetRequestPostData returns post data sent with the request.
GetResponseBody returns content served for the given request.
GetResponseBodyForInterception returns content served for the given currently intercepted request.
ReplayXHR this method sends a new XMLHttpRequest which is identical to the original one.
SearchInResponseBody searches for given string in response content.
SetBlockedURLS blocks URLs from loading.
SetBypassServiceWorker toggles ignoring of service worker for each request.
SetCacheDisabled toggles ignoring cache for each request.
SetCookie sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
SetCookies sets given cookies.
SetDataSizeLimitsForTest for testing.
SetExtraHTTPHeaders specifies whether to always send extra HTTP headers with the requests from this page.
SetRequestInterception sets the requests to intercept that match a the provided patterns and optionally resource types.
TakeResponseBodyForInterceptionAsStream returns a handle to the stream representing the response body.

# Constants

AuthChallengeResponseResponse values.
AuthChallengeResponseResponse values.
AuthChallengeResponseResponse values.
AuthChallengeSource values.
AuthChallengeSource values.
BlockedReason values.
BlockedReason values.
BlockedReason values.
BlockedReason values.
BlockedReason values.
BlockedReason values.
BlockedReason values.
BlockedReason values.
CertificateTransparencyCompliance values.
CertificateTransparencyCompliance values.
CertificateTransparencyCompliance values.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
CookieSameSite values.
CookieSameSite values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
ErrorReason values.
InitiatorType values.
InitiatorType values.
InitiatorType values.
InitiatorType values.
InitiatorType values.
InterceptionStage values.
InterceptionStage values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ReferrerPolicy values.
ResourcePriority values.
ResourcePriority values.
ResourcePriority values.
ResourcePriority values.
ResourcePriority values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
ResourceType values.
SignedExchangeErrorField values.
SignedExchangeErrorField values.
SignedExchangeErrorField values.
SignedExchangeErrorField values.
SignedExchangeErrorField values.
SignedExchangeErrorField values.

# Structs

AuthChallenge authorization challenge for HTTP status code 401 or 407.
AuthChallengeResponse response to an AuthChallenge.
CachedResource information about the cached resource.
ClearBrowserCacheParams clears browser cache.
ClearBrowserCookiesParams clears browser cookies.
ContinueInterceptedRequestParams 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.
Cookie cookie object.
CookieParam cookie parameter object.
DeleteCookiesParams deletes browser cookies with matching name and url or domain/path pair.
DisableParams disables network tracking, prevents network events from being sent to the client.
EmulateNetworkConditionsParams activates emulation of network conditions.
EnableParams enables network tracking, network events will now be delivered to the client.
EventDataReceived fired when data chunk was received over the network.
EventEventSourceMessageReceived fired when EventSource message is received.
EventLoadingFailed fired when HTTP request has failed to load.
EventLoadingFinished fired when HTTP request has finished loading.
EventRequestIntercepted details of an intercepted HTTP request, which must be either allowed, blocked, modified or mocked.
EventRequestServedFromCache fired if request ended up loading from cache.
EventRequestWillBeSent fired when page is about to send HTTP request.
EventResourceChangedPriority fired when resource loading priority is changed.
EventResponseReceived fired when HTTP response is available.
EventSignedExchangeReceived fired when a signed exchange was received over the network.
EventWebSocketClosed fired when WebSocket is closed.
EventWebSocketCreated fired upon WebSocket creation.
EventWebSocketFrameError fired when WebSocket frame error occurs.
EventWebSocketFrameReceived fired when WebSocket frame is received.
EventWebSocketFrameSent fired when WebSocket frame is sent.
EventWebSocketHandshakeResponseReceived fired when WebSocket handshake response becomes available.
EventWebSocketWillSendHandshakeRequest fired when WebSocket is about to initiate handshake.
GetAllCookiesParams returns all browser cookies.
GetAllCookiesReturns return values.
GetCertificateParams returns the DER-encoded certificate.
GetCertificateReturns return values.
GetCookiesParams returns all browser cookies for the current URL.
GetCookiesReturns return values.
GetRequestPostDataParams returns post data sent with the request.
GetRequestPostDataReturns return values.
GetResponseBodyForInterceptionParams returns content served for the given currently intercepted request.
GetResponseBodyForInterceptionReturns return values.
GetResponseBodyParams returns content served for the given request.
GetResponseBodyReturns return values.
Initiator information about the request initiator.
ReplayXHRParams this method sends a new XMLHttpRequest which is identical to the original one.
Request HTTP request data.
RequestPattern request pattern for interception.
ResourceTiming timing information for the request.
Response HTTP response data.
SearchInResponseBodyParams searches for given string in response content.
SearchInResponseBodyReturns return values.
SecurityDetails security details about a request.
SetBlockedURLSParams blocks URLs from loading.
SetBypassServiceWorkerParams toggles ignoring of service worker for each request.
SetCacheDisabledParams toggles ignoring cache for each request.
SetCookieParams sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
SetCookieReturns return values.
SetCookiesParams sets given cookies.
SetDataSizeLimitsForTestParams for testing.
SetExtraHTTPHeadersParams specifies whether to always send extra HTTP headers with the requests from this page.
SetRequestInterceptionParams sets the requests to intercept that match a the provided patterns and optionally resource types.
SignedCertificateTimestamp details of a signed certificate timestamp (SCT).
SignedExchangeError information about a signed exchange response.
SignedExchangeHeader information about a signed exchange header.
SignedExchangeInfo information about a signed exchange response.
SignedExchangeSignature information about a signed exchange signature.
TakeResponseBodyForInterceptionAsStreamParams returns a handle to the stream representing the response body.
TakeResponseBodyForInterceptionAsStreamReturns return values.
WebSocketFrame webSocket frame data.
WebSocketRequest webSocket request data.
WebSocketResponse webSocket response data.

# Type aliases

AuthChallengeResponseResponse the decision on what to do in response to the authorization challenge.
AuthChallengeSource source of the authentication challenge.
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.
CookieSameSite represents the cookie's 'SameSite' status: https://tools.ietf.org/html/draft-west-first-party-cookies.
ErrorReason network level fetch failure reason.
Headers request / response headers as keys / values of JSON object.
InitiatorType type of this initiator.
InterceptionID unique intercepted request identifier.
InterceptionStage stages of the interception to begin intercepting.
ReferrerPolicy the referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/.
RequestID unique request identifier.
ResourcePriority loading priority of a resource request.
ResourceType resource type as it was perceived by the rendering engine.
SignedExchangeErrorField field type for a signed exchange related error.