def start(ws)
      @ws = ws

      @ws.on(:message) do |event|
        on_websocket_message(event.data)
      end

      @ws.on(:error) do |exc|
        warn exc
      end

      @ws.on(:close) do |event|
        on_websocket_close(event.code, event.reason)
      end

      started!
    end
def start(ws)
      @ws = ws

      @ws.on(:message) do |event|
        on_websocket_message(event.data)
      end

      @ws.on(:error) do |exc|
        warn exc
      end

      @ws.on(:close) do |event|
        on_websocket_close(event.code, event.reason)
      end

      started!
    end
Does not raise.

 @param ws [Faye::Websocket]