Struct djinn::WebSocketServer [] [src]

pub struct WebSocketServer { /* fields omitted */ }

A WebSocket server which receives and publishes events.

Methods

impl WebSocketServer
[src]

Runs a WebSocket server that subscribes to a Redis pubsub channel. Workers can publish messages to the channel and this server will forward them to connected WebSocket clients.

Shutdown the websocket server.