package
0.0.0-20220708210441-8ed5860618ae
Repository: https://github.com/ezoic/cdproto_v2.git
Documentation: pkg.go.dev

# Functions

ClearBrowserCache clears browser cache.
ClearBrowserCookies clears browser cookies.
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.
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.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
ConnectionType values.
CookieBlockedReason values.
CookieBlockedReason values.
CookieBlockedReason values.
CookieBlockedReason values.
CookieBlockedReason values.
CookieBlockedReason values.
CookieBlockedReason values.
CookieBlockedReason values.
CookieBlockedReason values.
CookiePriority values.
CookiePriority values.
CookiePriority values.
CookieSameSite 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.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason values.
SetCookieBlockedReason 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.
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.
ClearBrowserCacheParams clears browser cache.
ClearBrowserCookiesParams clears browser cookies.
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.
EventRequestServedFromCache fired if request ended up loading from cache.
EventRequestWillBeSent fired when page is about to send HTTP request.
EventRequestWillBeSentExtraInfo fired when additional information about a requestWillBeSent event is available from the network stack.
EventResourceChangedPriority fired when resource loading priority is changed.
EventResponseReceived fired when HTTP response is available.
EventResponseReceivedExtraInfo fired when additional information about a responseReceived event is available from the network stack.
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 message error occurs.
EventWebSocketFrameReceived fired when WebSocket message is received.
EventWebSocketFrameSent fired when WebSocket message 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.
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 message 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.
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.
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.
SetCookieBlockedReason types of reasons why a cookie may not be stored from a response.
SignedExchangeErrorField field type for a signed exchange related error.