Method: WebSocket::Handshake::Base#to_s

Defined in:
lib/websocket/handshake/base.rb

#to_sString

Return textual representation of handshake request or response

Returns:

  • text of response



40
41
42
# File 'lib/websocket/handshake/base.rb', line 40

def to_s
  @handler ? @handler.to_s : ''
end