LaunchDarkly Event Source Client

This package is a beta version and should not be considered ready for production use while this message is visible.

Overview

This package allows Dart developers to consume Server-Sent-Events (SSE) from a remote API. The SSE specification is defined here: https://html.spec.whatwg.org/multipage/server-sent-events.html

This library is primarily intended for use by LaunchDarkly libraries.

Testing

This package is tested against a centralized test harness. For information on running the tests check: SSE Contract Tests.

Contributing

We encourage pull requests and other contributions from the community. Read our contributing guidelines for instructions on how to contribute to this SDK.

About LaunchDarkly

  • LaunchDarkly is a feature management platform. We empower all teams to deliver and control their software. With LaunchDarkly, you can:
    • Roll out a new feature to a subset of your end users, such as a group of end users who opt in to a beta tester group, and gather feedback and bug reports from real-world use cases.
    • Gradually roll out a feature to an increasing percentage of customers, and track the effect that the feature has on key metrics. For instance, how likely is a customer to complete a purchase if they have feature A versus feature B?
    • Turn off a feature that is causing performance problems in production, without needing to re-deploy or even restart the application with a changed configuration file.
    • Grant access to certain features based on end user attributes, like payment plan. (For example, customers on the ‘gold’ plan have access to more features than customers in the ‘silver’ plan).
    • Disable parts of your application to facilitate maintenance, without taking everything offline.
  • LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read our SDK documentation for a complete list.
  • Explore LaunchDarkly

Libraries

launchdarkly_event_source_client
launchdarkly_sse provides SSE streaming functionality.