Sha256: 5b22411e0ead6c15c2276bbaf331c82900a4dd76a1f3cb06acff88649af7f921

Contents?: true

Size: 467 Bytes

Versions: 8

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true

module WebSocket
  module Handshake
    module Handler
      class Client11 < Client04
        private

        # @see WebSocket::Handshake::Handler::Base#handshake_keys
        def handshake_keys
          super.collect do |key_pair|
            if key_pair[0] == 'Sec-WebSocket-Origin'
              ['Origin', key_pair[1]]
            else
              key_pair
            end
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/websocket-1.2.10/lib/websocket/handshake/handler/client11.rb
websocket-1.2.11 lib/websocket/handshake/handler/client11.rb
websocket-1.2.10 lib/websocket/handshake/handler/client11.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/websocket-1.2.9/lib/websocket/handshake/handler/client11.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/websocket-1.2.9/lib/websocket/handshake/handler/client11.rb
websocket-1.2.9 lib/websocket/handshake/handler/client11.rb
websocket-1.2.8 lib/websocket/handshake/handler/client11.rb
websocket-1.2.7 lib/websocket/handshake/handler/client11.rb