w_transport 2.9.2 w_transport: ^2.9.2 copied to clipboard
Platform-agnostic transport library for sending and receiving data over HTTP and WebSocket. HTTP support includes plain-text, JSON, form-data, and multipart data, as well as custom encoding. WebSocket [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add w_transport
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
w_transport: ^2.9.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:w_transport/w_transport.dart';