Electric.Shapes.Api.Error (electric v1.0.24)

View Source

Summary

Functions

When responding to client HTTP requests, the value of the experimental_live_sse option passed to must_refetch/1 (based on whether the fetch request is using SSE mode or not) determines the formatting of the response body: SSE clients expect single events but long polling clients expect an array of messages.

Functions

must_refetch(opts)

When responding to client HTTP requests, the value of the experimental_live_sse option passed to must_refetch/1 (based on whether the fetch request is using SSE mode or not) determines the formatting of the response body: SSE clients expect single events but long polling clients expect an array of messages.