class WebSocket::EventMachine::Client

def initialize(args)

Options Hash: (**args)
  • :ssl (Boolean) -- Force SSL/TLS connection
  • :headers (Hash) -- HTTP headers to use in the handshake
  • :version (Integer) -- Version of protocol to use(default = 13)
  • :port (Integer) -- The port to connect too(default = 80)
  • :host (String) -- The host IP/DNS name

Parameters:
  • args (Hash) -- Arguments for connection
def initialize(args)
  @args = args
end