OffBroadwayWebSocket.Producer (off_broadway_websocket v1.0.0)

A GenStage producer that manages WebSocket connections using the gun library.

This module establishes a WebSocket connection, and manages message dispatching based on demand. It monitors the WebSocket connection with ping/pong messages and terminates connection when timeouts occur.

Summary

Functions

Starts the WebSocket producer under a GenStage supervisor.

Functions

start_link(opts)

@spec start_link(keyword()) :: GenServer.on_start()

Starts the WebSocket producer under a GenStage supervisor.