module Faye::WebSocket::Client::Connection
Attributes
parent[RW]
Public Instance Methods
connection_completed()
click to toggle source
# File lib/faye/websocket/client.rb, line 66 def connection_completed parent.__send__(:on_connect, self) end
receive_data(data)
click to toggle source
# File lib/faye/websocket/client.rb, line 70 def receive_data(data) parent.__send__(:parse, data) end
unbind()
click to toggle source
# File lib/faye/websocket/client.rb, line 74 def unbind parent.__send__(:finalize_close) end
write(data)
click to toggle source
# File lib/faye/websocket/client.rb, line 78 def write(data) send_data(data) rescue nil end