Methods
A
C
N
P
R
T
Class Public methods
new(env, event_target, stream_event_loop, protocols)
# File actioncable/lib/action_cable/connection/faye_client_socket.rb, line 6
def initialize(env, event_target, stream_event_loop, protocols)
  @env = env
  @event_target = event_target
  @protocols = protocols

  @faye = nil
end
Instance Public methods
alive?()
# File actioncable/lib/action_cable/connection/faye_client_socket.rb, line 14
def alive?
  @faye && @faye.ready_state == Faye::WebSocket::API::OPEN
end
close()
# File actioncable/lib/action_cable/connection/faye_client_socket.rb, line 23
def close
  @faye && @faye.close
end
protocol()
# File actioncable/lib/action_cable/connection/faye_client_socket.rb, line 27
def protocol
  @faye && @faye.protocol
end
rack_response()
# File actioncable/lib/action_cable/connection/faye_client_socket.rb, line 31
def rack_response
  connect
  @faye.rack_response
end
transmit(data)
# File actioncable/lib/action_cable/connection/faye_client_socket.rb, line 18
def transmit(data)
  connect
  @faye.send data
end