Sha256: adeee6c1ef9774c8ae7e22de2d3b34ab00c17d8a74bef73a1ea352615788601e

Contents?: true

Size: 382 Bytes

Versions: 3

Compression:

Stored size: 382 Bytes

Contents

module EventMachine
  module WebSocket
    class HandshakeError < RuntimeError; end

    class Handler
      include Debugger

      attr_reader :request

      def initialize(request, response, debug = false)
        @request = request
        @response = response
        @debug = debug
      end

      def handshake
        # Implemented in subclass
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
em-websocket-0.1.3 lib/em-websocket/handler.rb
em-websocket-0.1.2 lib/em-websocket/handler.rb
em-websocket-0.1.1 lib/em-websocket/handler.rb