Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metosin/eines
Simple Clojure and ClojureScript library for WebSocket communication
https://github.com/metosin/eines
clojure clojurescript javascript metosin-deprecated websocket
Last synced: 3 months ago
JSON representation
Simple Clojure and ClojureScript library for WebSocket communication
- Host: GitHub
- URL: https://github.com/metosin/eines
- Owner: metosin
- Created: 2017-01-16T09:16:59.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2021-01-26T07:43:03.000Z (almost 4 years ago)
- Last Synced: 2024-06-25T15:50:23.639Z (4 months ago)
- Topics: clojure, clojurescript, javascript, metosin-deprecated, websocket
- Language: Clojure
- Homepage:
- Size: 50.8 KB
- Stars: 15
- Watchers: 13
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Eines - Simple Clojure and ClojureScript library for WebSocket communication
> Eines, Finnish for Convenience food
>
> Convenience food, or tertiary processed food, is food that is
> commercially prepared (often through processing) to optimise
> ease of consumption.
>
> https://en.wikipedia.org/wiki/Convenience_foodSimple [Clojure](http://clojure.org) and [ClojureScript](https://clojurescript.org) library
for [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) communication.**Status:** Unfinished; not recommended for general usage.
## Goals
* Simple, batteries included library
* Support for Transit, JSON, and EDN message formats
* Support rpc style request/response from client to server, and from server to client
* Extensible via middleware
* Expose socket lifecycle to client## Todo
- [ ] Write proper documentation
- [ ] API docs
- [ ] Compare to other libs
- [x] Symmetric RPC support
- [x] Better state machine for front
- [ ] Support for HttpKit
- [ ] Release## License
Copyright © 2017-2018 Metosin Ltd.
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.