Struct cdp::network::WebSocketResponse [] [src]

pub struct WebSocketResponse<'a> {
    pub status: f64,
    pub status_text: Cow<'a, str>,
    pub headers: Headers,
    pub headers_text: Option<Cow<'a, str>>,
    pub request_headers: Option<Headers>,
    pub request_headers_text: Option<Cow<'a, str>>,
}

[Experimental] WebSocket response data.

Fields

HTTP response status code.

HTTP response status text.

HTTP response headers.

HTTP response headers text.

HTTP request headers.

HTTP request headers text.

Trait Implementations

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

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for WebSocketResponse<'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 !=.