socket_io_common
3.1.1, released 2 years ago by an unverified publisher
Socket.io common parser library for Dart.
What it does
Provides the core parsing logic for Socket.io packets and events. Handles encoding/decoding of data, including binary buffers, and offers utilities for event emission and disposal.
AI-written summary of version 3.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to communicate with a Socket.io server from a Dart/Flutter app
- You require cross‑platform support including web (WASM) and native platforms
- You want a lightweight, pure‑Dart implementation without native dependencies
Skip it when
- You are not using Socket.io as your backend protocol
- You need a full client library that also manages connections (use socket_io_client)
Strengths
- Cross‑platform including web (WASM)
- Active bug‑fix releases for recent Socket.io versions
- Small dependency footprint (only logging)
Weaknesses
- Only provides parsing; you still need a client for connection handling
- Documentation is minimal
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Alternatives
Packages that do the same job and could replace socket_io_common.
- fresh
Core token refresh library for managing authentication token lifecycles.
92Compare - mqtt5_client
A server and browser based MQTT Version 5 client for Dart supporting TCP and WebSockets.
92Compare - mqtt_client
A Dart MQTT client supporting TCP, WebSocket, secure connections and all QoS levels.
91Compare - webdav_client_plus
A simple WebDAV client for Dart and Flutter supporting file operations and extensions.
75Compare
Works with
Packages commonly used together with socket_io_common: ones it builds on, ones built on it, and its own family.
- loggingsocket_io_common depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- socket_io_clientBuilt on socket_io_commonDartlang port of socket.io-client for web, flutter, and dartvm
- socket_ioBuilt on socket_io_commonDart server and client implementation of Socket.io for real‑time bidirectional communication.