Method: Patch::IO::Websocket::Socket#active?

Defined in:
lib/patch/io/websocket/socket.rb

#active?Boolean

Is the socket active?

Returns:

  • (Boolean)


58
59
60
# File 'lib/patch/io/websocket/socket.rb', line 58

def active?
  !@socket.nil?
end