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
url: Url
ws://
or wss://
URL to connect to.
extra_headers: Option<&'t [(&'t str, &'t str)]>
Extra HTTP headers to append to the request.