Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandContinueRequest + const CommandContinueResponse + const CommandContinueWithAuth + const CommandDisable + const CommandEnable + const CommandFailRequest + const CommandFulfillRequest + const CommandGetResponseBody + const CommandTakeResponseBodyAsStream + type AuthChallenge struct + Origin string + Realm string + Scheme string + Source AuthChallengeSource + func (v *AuthChallenge) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AuthChallenge) UnmarshalJSON(data []byte) error + func (v AuthChallenge) MarshalEasyJSON(w *jwriter.Writer) + func (v AuthChallenge) MarshalJSON() ([]byte, error) + type AuthChallengeResponse struct + Password string + Response AuthChallengeResponseResponse + Username string + func (v *AuthChallengeResponse) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AuthChallengeResponse) UnmarshalJSON(data []byte) error + func (v AuthChallengeResponse) MarshalEasyJSON(w *jwriter.Writer) + func (v AuthChallengeResponse) MarshalJSON() ([]byte, error) + type AuthChallengeResponseResponse string + const AuthChallengeResponseResponseCancelAuth + const AuthChallengeResponseResponseDefault + const AuthChallengeResponseResponseProvideCredentials + func (t *AuthChallengeResponseResponse) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AuthChallengeResponseResponse) UnmarshalJSON(buf []byte) error + func (t AuthChallengeResponseResponse) MarshalEasyJSON(out *jwriter.Writer) + func (t AuthChallengeResponseResponse) MarshalJSON() ([]byte, error) + func (t AuthChallengeResponseResponse) String() string + type AuthChallengeSource string + const AuthChallengeSourceProxy + const AuthChallengeSourceServer + func (t *AuthChallengeSource) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AuthChallengeSource) UnmarshalJSON(buf []byte) error + func (t AuthChallengeSource) MarshalEasyJSON(out *jwriter.Writer) + func (t AuthChallengeSource) MarshalJSON() ([]byte, error) + func (t AuthChallengeSource) String() string + type ContinueRequestParams struct + Headers []*HeaderEntry + InterceptResponse bool + Method string + PostData string + RequestID RequestID + URL string + func ContinueRequest(requestID RequestID) *ContinueRequestParams + func (p *ContinueRequestParams) Do(ctx context.Context) (err error) + func (p ContinueRequestParams) WithHeaders(headers []*HeaderEntry) *ContinueRequestParams + func (p ContinueRequestParams) WithInterceptResponse(interceptResponse bool) *ContinueRequestParams + func (p ContinueRequestParams) WithMethod(method string) *ContinueRequestParams + func (p ContinueRequestParams) WithPostData(postData string) *ContinueRequestParams + func (p ContinueRequestParams) WithURL(url string) *ContinueRequestParams + func (v *ContinueRequestParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ContinueRequestParams) UnmarshalJSON(data []byte) error + func (v ContinueRequestParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ContinueRequestParams) MarshalJSON() ([]byte, error) + type ContinueResponseParams struct + BinaryResponseHeaders string + RequestID RequestID + ResponseCode int64 + ResponseHeaders []*HeaderEntry + ResponsePhrase string + func ContinueResponse(requestID RequestID) *ContinueResponseParams + func (p *ContinueResponseParams) Do(ctx context.Context) (err error) + func (p ContinueResponseParams) WithBinaryResponseHeaders(binaryResponseHeaders string) *ContinueResponseParams + func (p ContinueResponseParams) WithResponseCode(responseCode int64) *ContinueResponseParams + func (p ContinueResponseParams) WithResponseHeaders(responseHeaders []*HeaderEntry) *ContinueResponseParams + func (p ContinueResponseParams) WithResponsePhrase(responsePhrase string) *ContinueResponseParams + func (v *ContinueResponseParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ContinueResponseParams) UnmarshalJSON(data []byte) error + func (v ContinueResponseParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ContinueResponseParams) MarshalJSON() ([]byte, error) + type ContinueWithAuthParams struct + AuthChallengeResponse *AuthChallengeResponse + RequestID RequestID + func ContinueWithAuth(requestID RequestID, authChallengeResponse *AuthChallengeResponse) *ContinueWithAuthParams + func (p *ContinueWithAuthParams) Do(ctx context.Context) (err error) + func (v *ContinueWithAuthParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ContinueWithAuthParams) UnmarshalJSON(data []byte) error + func (v ContinueWithAuthParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ContinueWithAuthParams) MarshalJSON() ([]byte, error) + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + HandleAuthRequests bool + Patterns []*RequestPattern + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (p EnableParams) WithHandleAuthRequests(handleAuthRequests bool) *EnableParams + func (p EnableParams) WithPatterns(patterns []*RequestPattern) *EnableParams + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type EventAuthRequired struct + AuthChallenge *AuthChallenge + FrameID cdp.FrameID + Request *network.Request + RequestID RequestID + ResourceType network.ResourceType + func (v *EventAuthRequired) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventAuthRequired) UnmarshalJSON(data []byte) error + func (v EventAuthRequired) MarshalEasyJSON(w *jwriter.Writer) + func (v EventAuthRequired) MarshalJSON() ([]byte, error) + type EventRequestPaused struct + FrameID cdp.FrameID + NetworkID network.RequestID + RedirectedRequestID RequestID + Request *network.Request + RequestID RequestID + ResourceType network.ResourceType + ResponseErrorReason network.ErrorReason + ResponseHeaders []*HeaderEntry + ResponseStatusCode int64 + ResponseStatusText string + func (v *EventRequestPaused) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventRequestPaused) UnmarshalJSON(data []byte) error + func (v EventRequestPaused) MarshalEasyJSON(w *jwriter.Writer) + func (v EventRequestPaused) MarshalJSON() ([]byte, error) + type FailRequestParams struct + ErrorReason network.ErrorReason + RequestID RequestID + func FailRequest(requestID RequestID, errorReason network.ErrorReason) *FailRequestParams + func (p *FailRequestParams) Do(ctx context.Context) (err error) + func (v *FailRequestParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *FailRequestParams) UnmarshalJSON(data []byte) error + func (v FailRequestParams) MarshalEasyJSON(w *jwriter.Writer) + func (v FailRequestParams) MarshalJSON() ([]byte, error) + type FulfillRequestParams struct + BinaryResponseHeaders string + Body string + RequestID RequestID + ResponseCode int64 + ResponseHeaders []*HeaderEntry + ResponsePhrase string + func FulfillRequest(requestID RequestID, responseCode int64) *FulfillRequestParams + func (p *FulfillRequestParams) Do(ctx context.Context) (err error) + func (p FulfillRequestParams) WithBinaryResponseHeaders(binaryResponseHeaders string) *FulfillRequestParams + func (p FulfillRequestParams) WithBody(body string) *FulfillRequestParams + func (p FulfillRequestParams) WithResponseHeaders(responseHeaders []*HeaderEntry) *FulfillRequestParams + func (p FulfillRequestParams) WithResponsePhrase(responsePhrase string) *FulfillRequestParams + func (v *FulfillRequestParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *FulfillRequestParams) UnmarshalJSON(data []byte) error + func (v FulfillRequestParams) MarshalEasyJSON(w *jwriter.Writer) + func (v FulfillRequestParams) MarshalJSON() ([]byte, error) + type GetResponseBodyParams struct + RequestID RequestID + func GetResponseBody(requestID RequestID) *GetResponseBodyParams + func (p *GetResponseBodyParams) Do(ctx context.Context) (body []byte, err error) + func (v *GetResponseBodyParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetResponseBodyParams) UnmarshalJSON(data []byte) error + func (v GetResponseBodyParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetResponseBodyParams) MarshalJSON() ([]byte, error) + type GetResponseBodyReturns struct + Base64encoded bool + Body string + func (v *GetResponseBodyReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetResponseBodyReturns) UnmarshalJSON(data []byte) error + func (v GetResponseBodyReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetResponseBodyReturns) MarshalJSON() ([]byte, error) + type HeaderEntry struct + Name string + Value string + func (v *HeaderEntry) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *HeaderEntry) UnmarshalJSON(data []byte) error + func (v HeaderEntry) MarshalEasyJSON(w *jwriter.Writer) + func (v HeaderEntry) MarshalJSON() ([]byte, error) + type RequestID string + func (t RequestID) String() string + type RequestPattern struct + RequestStage RequestStage + ResourceType network.ResourceType + URLPattern string + func (v *RequestPattern) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RequestPattern) UnmarshalJSON(data []byte) error + func (v RequestPattern) MarshalEasyJSON(w *jwriter.Writer) + func (v RequestPattern) MarshalJSON() ([]byte, error) + type RequestStage string + const RequestStageRequest + const RequestStageResponse + func (t *RequestStage) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *RequestStage) UnmarshalJSON(buf []byte) error + func (t RequestStage) MarshalEasyJSON(out *jwriter.Writer) + func (t RequestStage) MarshalJSON() ([]byte, error) + func (t RequestStage) String() string + type TakeResponseBodyAsStreamParams struct + RequestID RequestID + func TakeResponseBodyAsStream(requestID RequestID) *TakeResponseBodyAsStreamParams + func (p *TakeResponseBodyAsStreamParams) Do(ctx context.Context) (stream io.StreamHandle, err error) + func (v *TakeResponseBodyAsStreamParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *TakeResponseBodyAsStreamParams) UnmarshalJSON(data []byte) error + func (v TakeResponseBodyAsStreamParams) MarshalEasyJSON(w *jwriter.Writer) + func (v TakeResponseBodyAsStreamParams) MarshalJSON() ([]byte, error) + type TakeResponseBodyAsStreamReturns struct + Stream io.StreamHandle + func (v *TakeResponseBodyAsStreamReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *TakeResponseBodyAsStreamReturns) UnmarshalJSON(data []byte) error + func (v TakeResponseBodyAsStreamReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v TakeResponseBodyAsStreamReturns) MarshalJSON() ([]byte, error)