Using Server-Sent Events (SSE) to Stream Data in Rails, we show how to use server-sent events to stream data from the server to the client. SSE is designed for a unidirectional data flow. There is no communication from the client to the server other than the initial request.
Table of contents
Setting upSubscribing to EventsStreaming Data from Rails ServerControlling EventSource on the ClientGotchasSumming Up4 Comments
Sort: