Flutter Gems is a curated list of 6000+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn Twitter

Top Flutter WebSocket and RPC packages

Last updated: June 8, 2024

WebSocket enables real-time and two-way communication between a client and a server, and is popularly used by applications handling real-time data such as chat applications, online gaming and live data streaming.

Whereas, Remote Procedure Call or RPC is a protocol that allows a program to execute code on another address space, typically on a remote server, as if it were a local function call. It abstracts the complexities of remote communication by enabling developers to invoke functions on a different system without dealing with low-level networking details. RPC is used to build distributed systems, where different components or services communicate seamlessly. There are various implementations of RPC, such as gRPC, which use protocols like HTTP/2 for communication. RPC is widely utilized in micro-services architectures and client-server applications, enhancing modularity and scalability.

WebSocket and RPC can be used for building efficient and interactive applications across different domains. Below you will find the top packages that can help you add WebSocket and RPC support in your Flutter apps easily.

Dart 3 compatible 👍 1.27K
Maintenance Status: Good

Dartlang port of socket.io-client for web, flutter, dartvm to use

Dart 3 compatible 👍 1.25K
Maintenance Status: Good

StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API, a cross-platform implementation of that API that communicates over an underlying StreamChannel.

Dart 3 compatible 👍 428
Maintenance Status: Good

A server and browser based MQTT client for Dart supporting normal, secure sockets and websockets.

Dart 3 compatible 👍 367
Maintenance Status: Good

Dart implementation of gRPC, a high performance, open-source universal RPC framework.

Dart 3 compatible 👍 112
Maintenance Status: Good

A simple WebSocket client for Dart which includes automatic reconnection logic.

Dart 3 compatible 👍 111
Maintenance Status: Good

Dart STOMP client for easy messaging interoperability. Build with flutter in mind, but should work for every dart application.

Dart 3 compatible 👍 111
Maintenance Status: Good

A shelf handler that wires up a listener for every connection.

Dart 3 compatible 👍 68
Maintenance Status: Good

WS: A compact, highly efficient WebSocket library. Easily establish, manage, and reconnect WebSocket connections in real-time apps.

Dart 3 compatible 👍 50
Maintenance Status: Good

PhoenixSocket provides a feature-complete implementation of Phoenix Sockets, using a single API based on StreamChannels compatible with any deployment of Flutter.

Dart 3 compatible 👍 45
Maintenance Status: Good

WebSocket support for Dart Frog

Dart 3 compatible 👍 43
Maintenance Status: Good

A server and browser based MQTT5 client for Dart supporting normal, secure sockets and websockets.

Dart 3 compatible 👍 31
Maintenance Status: Good

Convenient websocket handler for all platforms (both IO and web/HTML). Websocket messages routing, statuses and other features have easy-to-use interface.

Dart 3 compatible 👍 31
Maintenance Status: Good

A Dart client for the NATS messaging system. Design to use with Dart and flutter.

Dart 3 compatible 👍 84
Maintenance Status: Average

Utilities to write a client or server using the JSON-RPC 2.0 spec.

Dart 3 compatible 👍 37
Maintenance Status: Average

A flutter package to connect, listen to and send messages over tcp sockets.

Dart 3 compatible 👍 10
Maintenance Status: Average

A gunDB port P2P encrypted Communication between multiple users.

Dart 3 compatible 👍 127
Maintenance Status: Poor

Port of JS/Node library Socket.io. It enables real-time, bidirectional and event-based communication cross-platform.

Dart 3 compatible 👍 11
Maintenance Status: Poor

Phoenix Channel client for Dart

👍 85
Maintenance Status: Poor

Websocket by socket.io for flutter by adhara, supports both iOS and Android

👍 68
Maintenance Status: Poor

Port of official Laravel Echo package for your Flutter apps.

👍 66
Maintenance Status: Poor

Flutter Socket IO Plugin

👍 44
Maintenance Status: Poor

A Flutter plugin for Android and iOS supports websocket connection