instance method
close
Ruby on Rails 5.2.8.1
Since v5.2.8.1Signature
close()
Close the WebSocket connection.
Source
# File actioncable/lib/action_cable/connection/base.rb, line 98
def close
websocket.close
end
Defined in actioncable/lib/action_cable/connection/base.rb line 98
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Connection::Base