Module: Faye::WebSocket::API
- Defined in:
- lib/right_agent/clients/router_client.rb
Instance Method Summary collapse
Instance Method Details
#close(code = nil, reason = nil) ⇒ Object
31 32 33 34 |
# File 'lib/right_agent/clients/router_client.rb', line 31 def close(code = nil, reason = nil) @ready_state = CLOSING if @ready_state == OPEN @driver.close(reason, code) end |