class Goliath::Connection
Attributes
Public Instance Methods
Source
# File lib/faye/adapters/goliath.rb, line 5 def receive_data(data) if @serving == :websocket socket_stream.receive(data) if socket_stream else goliath_receive_data(data) socket_stream.receive(@parser.upgrade_data) if socket_stream @serving = :websocket if @api.websocket? end end
Also aliased as: goliath_receive_data
Source
# File lib/faye/adapters/goliath.rb, line 15 def unbind super ensure socket_stream.fail if socket_stream end
Calls superclass method