class

Raze::WebSocketChannel

Inherits Reference < Object

A group of websockets

Constructors

new(channel_name : String)
Source

Instance methods

add(sock)
Source
broadcast(msg : String)
Source
channel_name
Source
channel_name=(channel_name : String)
Source
remove(sock : HTTP::WebSocket)
Source
remove(sock : HTTP::WebSocket, &block : Raze::WebSocketChannel -> _)
Source
size
Source
websockets
Source
websockets=(websockets : Array(HTTP::WebSocket))
Source