Sha256: 4838e5b1d6a2307d3ba312dc10049af02724e439c79a7a755f66fc4b725543fb

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

module WebSocket
  module Handshake
    module Handler
      module Client75

        include Client

        private

        def handshake_keys
          keys = [
            ["Upgrade", "WebSocket"],
            ["Connection", "Upgrade"]
          ]
          host = @host
          host += ":#{@port}" if @port
          keys << ["Host", host]
          keys << ["Origin", @origin] if @origin
          keys
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
websocket-1.0.1 lib/websocket/handshake/handler/client75.rb
websocket-1.0.0 lib/websocket/handshake/handler/client75.rb