Struct cdp::network::ResponseReceivedEvent [] [src]

pub struct ResponseReceivedEvent<'a> {
    pub request_id: RequestId<'a>,
    pub loader_id: LoaderId<'a>,
    pub timestamp: MonotonicTime,
    pub ty: ResourceType,
    pub response: Response<'a>,
    pub frame_id: Option<FrameId<'a>>,
}

Fired when HTTP response is available.

Event Network.responseReceived

Domain Module: cdp::network
Event Struct: cdp::network::ResponseReceivedEvent

Fields

Request identifier.

Loader identifier. Empty string if the request is fetched form worker.

Timestamp.

Resource type.

Response data.

[Experimental] Frame identifier.

Trait Implementations

impl<'a> Clone for ResponseReceivedEvent<'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 ResponseReceivedEvent<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ResponseReceivedEvent<'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> CdpEvent for ResponseReceivedEvent<'a>
[src]

EVENT_NAME: &'static str = "Network.responseReceived"

impl<'a> SerializeCdpEvent for ResponseReceivedEvent<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpEvent<'de> for ResponseReceivedEvent<'a>
[src]

[src]