Methods

WebSocket::Handshake::Handler::Base

This module and it's descendants are included in client or server handshake in order to extend basic functionality

Public Instance Methods

to_s() click to toggle source

@see WebSocket::Handshake::Base#to_s

# File lib/websocket/handshake/handler/base.rb, line 8
def to_s
  result = [ header_line ]
  handshake_keys.each do |key|
    result << key.join(': ')
  end
  result << ""
  result << finishing_line
  result.join("\r\n")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.