def run
      loop do
        break if Actor.current.dead? || @websocket.closed? || @server.dead?
        message = try_read_websocket
        handle_websocket_message(message) if message.present?
      end
    end
def run
      loop do
        break if Actor.current.dead? || @websocket.closed? || @server.dead?
        message = try_read_websocket
        handle_websocket_message(message) if message.present?
      end
    end
reads from the socket the message
 and dispatches it to the handle_websocket_message method
 @see #handle_websocket_message

 @return [void]

 @api public

 :nocov: