class ActionCable::Connection::ClientSocket

def open

def open
  return unless @ready_state == CONNECTING
  @ready_state = OPEN
  @event_target.on_open
end