pub fn key(mut self, key: [u8; 16]) -> Self {
		self.headers.insert(SEC_WEBSOCKET_KEY, WebSocketKey(key.into()).into());
		self.key_set = true;
		self
	}
/// Add a custom `Sec-WebSocket-Key` header.
/// Use this only if you know what you're doing, and this almost
/// never has to be used.
Add a custom `Sec-WebSocket-Key` header.
Use this only if you know what you're doing, and this almost
never has to be used.
Add a custom ` Sec - WebSocket - Key ` header . Use this only if you know what you ' re doing and this almost never has to be used .
pub fn key(mut self, key: [u8; 16]) -> Self {
		self.headers.insert(SEC_WEBSOCKET_KEY, WebSocketKey(key.into()).into());
		self.key_set = true;
		self
	}
pub fn key ( mut self , key : [ u8 ; 16 ] ) -> Self { self . headers . insert ( SEC_WEBSOCKET_KEY , WebSocketKey ( key . into ( ) ) . into ( ) ) ; self . key_set = true ; self }
Add a custom `Sec-WebSocket-Key` header.
Add a custom ` Sec - WebSocket - Key ` header .
mut self
key
[u8; 16]
mut self
key
[u8; 16]