func (ws *wsConn) Write(p []byte) (n int, err error) {
	err = ws.c.WriteMessage(websocket.BinaryMessage, p)
	if err != nil {
		return
	}

	return len(p), nil
}
// Write writes bytes to the websocket connection.
Write writes bytes to the websocket connection.
// Write writes bytes to the websocket connection .
func (ws *wsConn) Write(p []byte) (n int, err error) {
	err = ws.c.WriteMessage(websocket.BinaryMessage, p)
	if err != nil {
		return
	}
	return len(p), nil
}
func ( ws * wsConn ) Write ( p [ ] byte ) ( n int , err error ) { err = ws . c . WriteMessage ( websocket . BinaryMessage , p ) if err != nil { return } return len ( p ) , nil }
Write writes bytes to the websocket connection.
Write writes bytes to the websocket connection .