Supabase Logo

realtime_client

Dart client library for Supabase Realtime, to listen to changes in a PostgreSQL database over websockets.

Guides ยท Reference Docs

pub package pub test

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

Libraries

realtime_client
Listens to changes in a PostgreSQL database via websockets using Supabase Realtime.