Struct tungstenite::handshake::client::Request [] [src]

pub struct Request<'t> {
    pub url: Url,
    pub extra_headers: Option<&'t [(&'t str, &'t str)]>,
}

Client request.

Fields

ws:// or wss:// URL to connect to.

Extra HTTP headers to append to the request.

Trait Implementations

impl From<Url> for Request<'static>
[src]

Performs the conversion.