class Raze::WebSocketChannel
- Raze::WebSocketChannel
- Reference
- Object
Overview
A group of websockets
Defined in:
raze/websocket_channel.crConstructors
Instance Method Summary
- #add(sock)
- #broadcast(msg : String)
- #channel_name : String
- #channel_name=(channel_name : String)
- #remove(sock : HTTP::WebSocket)
- #remove(sock : HTTP::WebSocket, &block : Raze::WebSocketChannel -> _)
- #size
- #websockets : Array(HTTP::WebSocket)
- #websockets=(websockets : Array(HTTP::WebSocket))