패키지, 저장소 및 앱 카테고리 검색

패키지 상세v3.1.0

launchdarkly_event_source_client

dart 및 flutter를 위한 서버 전송 이벤트(SSE) 클라이언트 구현.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
11.4만
좋아요
3
Pub 점수
150

패키지 설치

flutter pub add launchdarkly_event_source_client

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

서버 전송 이벤트(SSE) 클라이언트의 Dart 및 Flutter 구현으로, 서버에서 클라이언트로 실시간 통신을 가능하게 합니다. 이 패키지는 여러 플랫폼에서 이벤트 스트림을 효율적으로 처리함으로써 LaunchDarkly의 기능 플래그 및 구성 서비스와의 원활한 통합을 가능하게 합니다. 자동 재연결, 이벤트 파싱, 스트림 관리를 지원하여 휠링 없이 실시간 업데이트가 필요한 애플리케이션에 적합합니다. 생산 환경에서의 신뢰성과 성능을 위해 설계되었습니다.

사용 사례

  • 실시간 기능 플래그 업데이트
  • 실시간 구성 동기화
  • 스트리밍 분석 이벤트
  • 서버 이벤트에 기반한 동적 UI 업데이트
  • 응용 프로그램 상태 변경 모니터링

주요 기능

  • 자동 재연결을 지원합니다
  • 이벤트 스트림 파싱 처리
  • 크로스 플랫폼 호환성
  • 강력한 오류 처리
  • 경량이고 효율적
  • 사용자 정의 재시도 로직

적합한 대상

  • 실시간 데이터가 필요한 Flutter 앱
  • LaunchDarkly SDK를 사용하는 애플리케이션
  • 저지연 서버 업데이트가 필요한 프로젝트
  • 반응형 UI를 구축하는 개발자
  • 실시간 업데이트 기능이 있는 기능 플래그를 구현하는 팀

고려 사항

  • 안정적인 네트워크 연결이 필요합니다
  • 모바일 기기에서 배터리 소모가 더 클 수 있습니다
  • 양방향 통신에 적합하지 않습니다
  • 서버에서 클라이언트로의 스트리밍에 한정
  • LaunchDarkly 백엔드 가용성에 따라 달라짐

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

LaunchDarkly Client-side SDK for Flutter

Action Status Pub

LaunchDarkly overview

LaunchDarkly is a feature management platform that serves trillions of feature flags daily to help teams build better software, faster. Get started using LaunchDarkly today!

Twitter Follow

Supported Platforms

See the pubspec.yaml file for Flutter version requirements.

This SDK supports Android, iOS, Linux, macOS, Web, and Windows.

The underlying API support requirements are determined by the native plugins used by the SDK.

These include:

Getting started

Refer to the SDK documentation for instructions on getting started with using the SDK.

Organization

The repository is a monorepo containing the packages required to make the SDK as well as testing and example applications.

Directory Readme Description
.github Contains CI and release process workflows and actions.
packages Contains flutter/dart libraries.
packages/flutter_client_sdk Flutter Client SDK Package which implements the LaunchDarkly client-side SDK for flutter.
packages/common Common Package which contains common code for dart based SDKs. Currently there is only a client-side SDK, but this directory should only contain code tha would apply to both client and server-side SDKs.
packages/client Common Client Package containing code that is specific to client-side SDKs, but not specific to flutter.
packages/event_source_client Event Source Client Package implementing support for SSE.
apps Contains sample and test applications.
apps/sse_contract_test_service SSE Contract Test Service This application is used to test the SSE implementation used by the SDK.
apps/flutter_client_contract_test_service Flutter Client Contract Test Service This application is used to test the functionality of the SDK.
architecture Contains diagrams and other supporting architecture documents.

Learn more

Read our documentation for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the complete reference guide for this SDK or our code-generated API documentation.

Testing

We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.

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

카테고리

의존성

의존성 목록 2 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.