code: func (c *Conn) receive(msg *message) error {
  	if !c.connected.Load().(bool) {
  		return errors.New("use of closed connection")
  	}
  
  	return websocket.JSON.Receive(c.ws.Load().(*websocket.Conn), &msg)
  }
docs: // Receive receives message from the connection.