method

begin_close

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ClientSocket
begin_close(reason, code) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/connection/client_socket.rb, line 140
        def begin_close(reason, code)
          return if @ready_state == CLOSED
          @ready_state = CLOSING
          @close_params = [reason, code]

          @stream.shutdown if @stream
          finalize_close
        end
Register or log in to add new notes.