/phoenix-socket-dart

Cross-platform and stream-based implementation of Phoenix Sockets

Primary LanguageDartBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

phoenix_socket

ci-test pub-package Pub Points

Dart library to interact with Phoenix Channels (Presence support is currently experimental) over WebSockets.

This library uses web_socket_channel for WebSockets, making the API consistent across web and native environments.

Getting Started

Look at the example project for an example on how to use this library. The API was designed to look like javascript's as much as possible, but leveraging Dart's unique native advantages like Streams and Futures.