Slipstream
A slick websocket client for Phoenix channels
See the online documentation
Main Features
- 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
:telemetryevents
Installation
Add slipstream to your dependencies in mix.exs:
def deps do
[
{:slipstream, "~> 1.0"}
]
endWe'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
Documentation is automatically published to hexdocs.pm on release. You may build the documentation locally with
MIX_ENV=docs mix docsContributing
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.