tarsier_websocket_client 1.0.0 copy "tarsier_websocket_client: ^1.0.0" to clipboard
tarsier_websocket_client: ^1.0.0 copied to clipboard

A Dart package for managing WebSocket connections and real-time event handling.

1.0.1 #

  • Upgraded environment SDK constraint
  • Upgraded some dependencies
  • Added colorized log printing
  • Added some necessary classes for enhancement
  • Fixed issue of flutter pinning
  • Added new flutter example project
  • Added initial github workflow

1.0.0-dev #

  • Added #

    • Initial release of the Tarsier WebSocket Client package.
    • Implemented the TarsierWebsocketClient class for managing WebSocket connections and interacting with real-time events.
    • Added the following core components:
      • PusherClient: The primary client for managing WebSocket connections and handling events.
      • PusherOptions: Configuration options for customizing the WebSocket connection, authentication, and reconnection behavior.
      • PusherAuthOptions: Authentication settings for private and presence channels.
    • Introduced channel management with the following channel types:
      • Public Channels: Basic channels without authentication.
      • Private Channels: Secure channels requiring authentication.
      • Presence Channels: Channels for tracking online users and presence data.
      • Private Encrypted Channels: Secure and encrypted channels for sensitive data.
    • Added utilities for managing events:
      • EventsListenersCollection: Handles event listeners for individual channels and global events.
      • ChannelsCollection: Manages the lifecycle of channels (creation, subscription, unsubscription, and cleanup).
    • Implemented event decryption for encrypted channels using SecretBox from pinenacl.
    • Provided extensible support for event logging with customizable verbosity.
    • Included default and customizable handlers for activity and pong timeouts.
1
likes
140
points
30
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

2024.09.15 - 2025.03.30

A Dart package for managing WebSocket connections and real-time event handling.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, crypto, http, meta, pinenacl, stream_channel, uuid

More

Packages that depend on tarsier_websocket_client