package
0.35.0
Repository: https://github.com/mafredri/cdp.git
Documentation: pkg.go.dev

# Functions

NewClient returns a client for the Fetch domain with the connection set to conn.
NewContinueRequestArgs initializes ContinueRequestArgs with the required arguments.
NewContinueResponseArgs initializes ContinueResponseArgs with the required arguments.
NewContinueWithAuthArgs initializes ContinueWithAuthArgs with the required arguments.
NewEnableArgs initializes EnableArgs with the required arguments.
NewFailRequestArgs initializes FailRequestArgs with the required arguments.
NewFulfillRequestArgs initializes FulfillRequestArgs with the required arguments.
NewGetResponseBodyArgs initializes GetResponseBodyArgs with the required arguments.
NewTakeResponseBodyAsStreamArgs initializes TakeResponseBodyAsStreamArgs with the required arguments.

# Constants

RequestStage as enums.
RequestStage as enums.
RequestStage as enums.

# Structs

AuthChallenge Authorization challenge for HTTP status code 401 or 407.
AuthChallengeResponse Response to an AuthChallenge.
AuthRequiredReply is the reply for AuthRequired events.
ContinueRequestArgs represents the arguments for ContinueRequest in the Fetch domain.
ContinueResponseArgs represents the arguments for ContinueResponse in the Fetch domain.
ContinueWithAuthArgs represents the arguments for ContinueWithAuth in the Fetch domain.
EnableArgs represents the arguments for Enable in the Fetch domain.
FailRequestArgs represents the arguments for FailRequest in the Fetch domain.
FulfillRequestArgs represents the arguments for FulfillRequest in the Fetch domain.
GetResponseBodyArgs represents the arguments for GetResponseBody in the Fetch domain.
GetResponseBodyReply represents the return values for GetResponseBody in the Fetch domain.
HeaderEntry Response HTTP header entry.
RequestPattern.
RequestPausedReply is the reply for RequestPaused events.
TakeResponseBodyAsStreamArgs represents the arguments for TakeResponseBodyAsStream in the Fetch domain.
TakeResponseBodyAsStreamReply represents the return values for TakeResponseBodyAsStream in the Fetch domain.

# Interfaces

AuthRequiredClient is a client for AuthRequired events.
RequestPausedClient is a client for RequestPaused events.

# Type aliases

RequestID Unique request identifier.
RequestStage Stages of the request to handle.