supabase_realtime 3.0.0-dev.1
supabase_realtime: ^3.0.0-dev.1 copied to clipboard
Listens to changes in a PostgreSQL Database and via websockets. This is for usage with Supabase Realtime server.
supabase_realtime
Dart client library for Supabase Realtime, to listen to changes in a PostgreSQL database over websockets.
Note
This package was published as
realtime_clientup to and including v2. That package is discontinued in favour ofsupabase_realtime.
Docs #
The docs can be found on the official Supabase website.
Testing #
The unit tests run without any external services:
dart test -x integration
The integration tests in test/realtime_integration_test.dart run against a
real Supabase Realtime server. Start the local Supabase stack with the CLI first
(from the repository root), then run the full suite (it exercises both protocol
versions, 1.0.0 and 2.0.0):
supabase start
dart test
supabase stop
License #
This repo is licensed under MIT.
Credits #
- https://github.com/supabase/realtime-js - ported from realtime-js library