pub async fn accept<S>( stream: S, peer: SocketAddr, ) -> Result<Socket<S>, WsError>where S: AsyncRead + AsyncWrite + Unpin,
Perform the server half, refusing a peer that does not offer the sip subprotocol.
sip