Class: Rev::SSLWebSocket

Inherits:
WebSocket
  • Object
show all
Defined in:
lib/rev/websocket.rb

Constant Summary

Constants inherited from WebSocket

WebSocket::FRAME_END, WebSocket::FRAME_START, WebSocket::HAVE_ENCODING, WebSocket::HTTP11_PRASER

Instance Attribute Summary

Attributes inherited from WebSocket

#request

Instance Method Summary collapse

Methods inherited from WebSocket

#initialize, #on_error, #on_message, #on_open, #on_read, #on_readable, #send_message

Constructor Details

This class inherits a constructor from Rev::WebSocket

Instance Method Details

#on_connectObject



233
234
235
236
# File 'lib/rev/websocket.rb', line 233

def on_connect
	extend SSL
	ssl_server_start
end

#ssl?Boolean

Returns:

  • (Boolean)


238
239
240
# File 'lib/rev/websocket.rb', line 238

def ssl?
	true
end