pub fn use_extensions<I>(mut self, extensions: I) -> Self
	where
		I: IntoIterator<Item = Extension>,
	{
		//let mut extensions: Vec<Extension> = extensions.into_iter().collect().join(", ");
		self.headers.insert("Sec-WebSocket-Extensions", HeaderValue::from_static(""));
		/*upsert_header!(self.headers; WebSocketExtensions; {
			Some(protos) => protos.0.append(&mut extensions),
			None => WebSocketExtensions(extensions)
		});*/
		self
	}
/// Select multiple extensions to use in the connection
Select multiple extensions to use in the connection
Select multiple extensions to use in the connection
pub fn use_extensions<I>(mut self, extensions: I) -> Self
	where
		I: IntoIterator<Item = Extension>,
	{
		//let mut extensions: Vec<Extension> = extensions.into_iter().collect().join(", ");
		self.headers.insert("Sec-WebSocket-Extensions", HeaderValue::from_static(""));
		/*upsert_header!(self.headers; WebSocketExtensions; {
			Some(protos) => protos.0.append(&mut extensions),
			None => WebSocketExtensions(extensions)
		});*/
		self
	}
pub fn use_extensions < I > ( mut self , extensions : I ) -> Self where I : IntoIterator < Item = Extension > , { //let mut extensions: Vec<Extension> = extensions.into_iter().collect().join(", "); self . headers . insert ( " " , HeaderValue :: from_static ( " " ) ) ; /*upsert_header!(self.headers; WebSocketExtensions; {
			Some(protos) => protos.0.append(&mut extensions),
			None => WebSocketExtensions(extensions)
		});*/ self }
Select multiple extensions to use in the connection
Select multiple extensions to use in the connection
mut self
extensions
I
mut self
extensions
I