The SDK provided adapter libraries already depend on this library. However, if you want to develop your own SSEGenerator you'll need to depend on:
Datastar SDKs in each language follow an Architecture Decision Record and the Clojure SDK is no exception. This ADR describes a general mechanism to manage SSE streams called a ServerSentEventGenerator and functions using it to send SSE event formatted the way the Datastar expect them in the browser.
This library is a generic implementation of the ADR. It contains the code for:
starfederation.datastar.clojure.protocols/SSEGenerator
allowing for the implementation of SSE generators for different Ring adapters.Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |