w_transport 2.3.1 w_transport: ^2.3.1 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 [...]
Examples #
There are 3 examples that demonstrate a wide range of use cases fulfilled by this library.
HTTP
WebSocket
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.