Pakete, Repositories und App-Kategorien suchen

Paketdetailsv1.0.1

web_socket

Eine einfach zu verwendende Bibliothek zur Kommunikation mit WebSockets, die mehrere Implementierungen bietet.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
11,7 Mio.
Likes
67
Pub-Punkte
160

Paket installieren

flutter pub add web_socket

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein einfaches und flexibles Dart-Paket zum Aufbau und Verwalten von WebSocket-Verbindungen über mehrere Plattformen hinweg. Es bietet eine konsistente API für die Echtzeitkommunikation zwischen Clients und Servern und unterstützt sowohl Client- als auch Serverseitige Implementierungen. Für einfache Nutzung konzipiert, integriert es sich nahtlos in Flutter-Anwendungen und andere Dart-Projekte und ermöglicht bidirektionale Datenübertragung mit minimalem Boilerplate. Die Bibliothek wird von der Dart-Team gepflegt und unterstützt alle wichtigen Plattformen wie Android, iOS, Web, macOS, Windows und Linux.

Anwendungsfälle

  • Echtzeit-Chats-Anwendungen
  • Live-Datenstrom
  • Online-Gaming
  • IoT-Gerätekommunikation
  • Synchronisierte Dashboards
  • Server-sent Events

Hauptmerkmale

  • Plattformübergreifende Kompatibilität
  • Einfache API für die Verbindungsverwaltung
  • Unterstützt sowohl Client- als auch Server-Rollen
  • Eingebaute Fehlerbehandlung
  • Automatische Wiederherstellungversuche
  • Leicht und effizient

Geeignet für

  • Entwickler, die Echtzeitfunktionen erstellen
  • Apps, die dauerhafte Verbindungen erfordern
  • Projekte, die niedrige Latenzaktualisierungen benötigen
  • Teams, die Dart/Flutter für Full-Stack-Entwicklung verwenden
  • Anwendungen für mehrere Plattformen

Hinweise

  • Erfordert einen WebSocket-Server-Endpunkt
  • Möglicherweise ist benutzerdefinierte Logik für die Nachrichtenserialisierung erforderlich
  • Nicht geeignet für Einzel-HTTP-Anfragen
  • Die Leistung hängt von den Netzbedingungen ab
  • Authentifizierung und Sicherheit müssen separat behandelt werden

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

Build Status

A composable, Future-based library for making HTTP requests.

package:http contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop, and the browser.

Packages

Package Description Version
cronet_http An Android Flutter plugin that provides access to the Cronet HTTP client. pub package
cupertino_http A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System. pub package
flutter_http_example An Flutter app that demonstrates how to configure and use package:http. —
http A composable, multi-platform, Future-based API for HTTP requests. pub package
http2 A HTTP/2 implementation in Dart. pub package
http_client_conformance_tests A library that tests whether implementations of package:http's Client class behave as expected.
http_multi_server A dart:io HttpServer wrapper that handles requests from multiple servers. pub package
http_parser A platform-independent package for parsing and serializing HTTP formats. pub package
http_profile A library used by HTTP client authors to integrate with the DevTools Network View. pub package
ok_http An Android Flutter plugin that provides access to the OkHttp HTTP client and the OkHttp WebSocket API. pub package
web_socket Any easy-to-use library for communicating with WebSockets that has multiple implementations. pub package
web_socket_channel StreamChannel wrappers for WebSockets. Provides a cross-platform WebSocketChannel API. package issues
web_socket_conformance_tests A library that tests whether implementations of package:web_socket's WebSocket class behave as expected.

Contributing

If you'd like to contribute to any of these packages, see the Contributing Guide.

Kategorien

Abhängigkeiten

Abhängigkeiten 1 Einträge

  • web>=0.5.0 <2.0.0

Quell-Repository

Projekte, die dieses Paket verwenden