pub fn write_accept( out: &mut Vec<u8>, hs: &Handshake<'_>, protocol: Option<&[u8]>, ) -> Result<(), Error>
Appends the 101 reply, choosing protocol (which must be one the client offered).
101
protocol