Method: Bixby::WebSocket::APIChannel#close
- Defined in:
- lib/bixby-common/websocket/api_channel.rb
#close(event) ⇒ Object
Close
Can be fired either due to disconnection or failure to connect
78 79 80 81 82 83 |
# File 'lib/bixby-common/websocket/api_channel.rb', line 78 def close(event) if @connected then @connected = false @handler.new(nil).disconnect(self) end end |