w_transport 4.1.5 w_transport: ^4.1.5 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.
Examples #
There are 3 examples that demonstrate a wide range of use cases fulfilled by this library.
HTTP #
WebSocket #
To serve the examples:
Dart 1:
pub serve
Dart 2: TBD
Then open http://localhost:8080 in Dartium or your browser of choice.