w_transport 5.2.1 copy "w_transport: ^5.2.1" to clipboard
w_transport: ^5.2.1 copied to clipboard

Transport library for sending HTTP requests and opening WebSockets. Platform-independent with builtin support for browser and Dart VM (even supports SockJS). Includes mock utilities for testing.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add w_transport

With Flutter:

 $ flutter 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: ^5.2.1

Alternatively, your editor might support dart pub get or flutter 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';
2
likes
110
pub points
88%
popularity

Publisher

verified publisherworkiva.com

Transport library for sending HTTP requests and opening WebSockets. Platform-independent with builtin support for browser and Dart VM (even supports SockJS). Includes mock utilities for testing.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

unknown (LICENSE)

Dependencies

collection, fluri, http_parser, meta, mime, quiver, sockjs_client_wrapper

More

Packages that depend on w_transport