pub fn use_protocols(mut self, protocols: Vec<&str>) -> Self {
		self.headers.insert(
			"Sec-WebSocket-Protocol",
			HeaderValue::from_str(&protocols.join(", ")).unwrap(),
		);
		self
	}
/// Select a protocol to use in the handshake response.
Select a protocol to use in the handshake response.
Select a protocol to use in the handshake response .
pub fn use_protocols(mut self, protocols: Vec<&str>) -> Self {
		self.headers.insert(
			"Sec-WebSocket-Protocol",
			HeaderValue::from_str(&protocols.join(", ")).unwrap(),
		);
		self
	}
pub fn use_protocols ( mut self , protocols : Vec < & str > ) -> Self { self . headers . insert ( " " , HeaderValue :: from_str ( & protocols . join ( " " ) ) . unwrap ( ) , ) ; self }
Select a protocol to use in the handshake response.
Select a protocol to use in the handshake response .
mut self
protocols
Vec<&str>
mut self
protocols
Vec<&str>