sse_phx_pubsub v1.0.3 SsePhoenixPubsub.Server
Server for streaming Server-Sent Events to http clients.
Link to this section Summary
Functions
Stream SSE events.
Link to this section Types
Link to this section Functions
Link to this function
stream(conn, pubsub_info, chunk)
stream(conn(), pubsub_info(), chunk()) :: conn()
Stream SSE events.
SsePhoenixPubsub.stream(conn, {MyApp.PubSub, ["time"]})