pub fn req_handshake<S: Read + Write>(
stream: &mut S,
uri: &Uri,
protocols: &[String],
extensions: &[String],
version: u8,
extra_headers: HashMap<String, String>,
) -> Result<(String, Response<()>), WsError>
Expand description
perform http upgrade
NOTE: low level api