Struct cdp::network::ContinueInterceptedRequestCommand [] [src]

pub struct ContinueInterceptedRequestCommand<'a> {
    pub interception_id: InterceptionId<'a>,
    pub error_reason: Option<ErrorReason>,
    pub raw_response: Option<Cow<'a, str>>,
    pub url: Option<Cow<'a, str>>,
    pub method: Option<Cow<'a, str>>,
    pub post_data: Option<Cow<'a, str>>,
    pub headers: Option<Headers>,
    pub auth_challenge_response: Option<AuthChallengeResponse<'a>>,
}

[Experimental] 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. If a network fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted event will be sent with the same InterceptionId.

Command Network.continueInterceptedRequest

Domain Module: cdp::network
Command Struct: cdp::network::ContinueInterceptedRequestCommand
Response Struct: cdp::network::ContinueInterceptedRequestResponse

Fields

If set this causes the request to fail with the given reason. Passing Aborted for requests marked with isNavigationRequest also cancels the navigation. Must not be set in response to an authChallenge.

If set the requests completes using with the provided base64 encoded raw response, including HTTP status line and headers etc... Must not be set in response to an authChallenge.

If set the request url will be modified in a way that's not observable by page. Must not be set in response to an authChallenge.

If set this allows the request method to be overridden. Must not be set in response to an authChallenge.

If set this allows postData to be set. Must not be set in response to an authChallenge.

If set this allows the request headers to be changed. Must not be set in response to an authChallenge.

Response to a requestIntercepted with an authChallenge. Must not be set otherwise.

Trait Implementations

impl<'a> Clone for ContinueInterceptedRequestCommand<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ContinueInterceptedRequestCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ContinueInterceptedRequestCommand<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for ContinueInterceptedRequestCommand<'a>
[src]

COMMAND_NAME: &'static str = "Network.continueInterceptedRequest"

impl<'a> SerializeCdpCommand for ContinueInterceptedRequestCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for ContinueInterceptedRequestCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for ContinueInterceptedRequestCommand<'a>
[src]