class Room::WS
- Room::WS
- Reference
- Object
Defined in:
room.crConstructors
Instance Method Summary
- #authed=(authed : Bool)
- #authed? : Bool
- #client?
- #close(message : String | Nil)
- #closed?
- #handle_close(code : HTTP::WebSocket::CloseCode, reason : String)
- #handle_message(message : String)
- #heartbeat
- #host? : Bool
- #on_message(&on_message : String -> )
- #purge?
- #send(cmd, *args)
- #spawn_loop
- #timeout?