w_transport 3.2.2
w_transport: ^3.2.2 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.
example/README.md
Examples #
There are 3 examples that demonstrate a wide range of use cases fulfilled by this library.
HTTP
- Simple File Browser Client
- Cross Origin Credentials
- Cross Origin Upload
WebSocket
- Echo
You can use dart_dev to serve the examples and run the required server with:
pub run dart_dev examples
Then open http://localhost:9000 in Dartium or your browser of choice.