FLUTTER ECOSYSTEM

gql_websocket_link

GQL Websocket Link

Latest version
2.1.0
30-day downloads
10.2K
Likes
13
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The gql_websocket_link package provides a WebSocket-based link for the GQL Dart library, enabling real-time data communication with GraphQL servers using WebSockets. It facilitates subscription-based queries, allowing clients to receive live updates from the server as events occur. Designed for seamless integration with the GQL ecosystem, it supports all major platforms including mobile, web, and desktop. The package is lightweight and efficient, ideal for applications requiring reactive data streams. It works alongside other GQL links to form a robust network layer.

Use cases
  • Real-time data subscriptions
  • Live chat applications
  • Stock price tracking
  • Collaborative editing tools
  • IoT device monitoring
Key features
  • WebSocket transport for GraphQL
  • Supports GraphQL subscriptions
  • Cross-platform compatibility
  • Integrates with GQL client
  • Lightweight and performant
Suitable for
  • Real-time applications
  • GraphQL subscription use cases
  • Dart developers using GQL
  • Full-stack Dart projects
  • Web and mobile apps requiring live data
Considerations
  • Requires a GraphQL server with WebSocket support
  • May need additional error handling for connection drops
  • Not suitable for one-off queries
  • Depends on GQL core library
  • Network reliability affects performance
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add gql_websocket_link

Categories

Dependencies

Dependency list 7 items

Source repository

Related projects

No data available yet.