djangoflow_websocket 0.0.1 copy "djangoflow_websocket: ^0.0.1" to clipboard
djangoflow_websocket: ^0.0.1 copied to clipboard

outdated

Easily manage connecting to a WebSocket server, subscribing to messages, handling reconnections etc all at once with djangoflow_websocket

0.0.1 #

We are excited to announce the initial release of djangoflow_websocket!

Features

  • WebSocket Connection Management: The DjangoflowWebsocketCubit class provides a convenient way to establish and manage WebSocket connections to a server. It handles connection establishment, closure, and automatic reconnection in case of connection loss.

  • Connection State Monitoring: The DjangoflowWebsocketCubit emits DjangoflowWebsocketState objects, allowing you to monitor the connection state. This includes messages such as "Connecting," "Connected," and "Disconnected," providing real-time feedback on the connection status.

  • Message Handling: The DjangoflowWebsocketCubit class receives WebSocket messages and emits them as part of the DjangoflowWebsocketState. You can easily handle and process these messages in your application logic.

  • Bloc Listener for Message Notifications: The DjangoflowWebsocketBlocListener simplifies the process of listening to new WebSocket messages emitted by the DjangoflowWebsocketCubit. It executes a callback whenever a new message is received, making it easier to handle messages in the UI.

1
likes
0
points
45
downloads

Publisher

verified publisherapexive.com

Weekly Downloads

Easily manage connecting to a WebSocket server, subscribing to messages, handling reconnections etc all at once with djangoflow_websocket

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

bloc, flutter, flutter_bloc, freezed_annotation, web_socket_channel

More

Packages that depend on djangoflow_websocket