code: func NewWebSocketConn(conn *websocket.Conn, maxWriteDelay time.Duration) *WebSocketConn {
  	return &WebSocketConn{
  		BaseConn: NewBaseConn(&wsStream{conn: conn}, maxWriteDelay),
  		conn:     conn,
  	}
  }
docs: // NewWebSocketConn returns a new WebSocketConn.