A slick websocket client for Phoenix channels
See the online documentation
- backed by Mint.WebSocket
- an
await_*
interface for a interacting synchronously - built-in re-connect and re-join mechanisms matching
phoenix.js
- a testing framework for clients
- emits
:telemetry
events
Add slipstream to your dependencies in mix.exs
:
def deps do
[
{:slipstream, "~> 1.0"}
]
end
We've been using Slipstream in production for the better part of a year. The interface is stable and a v1.0.0 release is imminent!
Documentation is automatically published to hexdocs.pm on release. You may build the documentation locally with
MIX_ENV=docs mix docs
Issues and PRs are very welcome! See our organization
CONTRIBUTING.md
for more information about best-practices and passing CI.
If you're considering sending a PR or otherwise forking Slipstream, you may wish to read the implementation docs first.