dartway_client 0.20.0 copy "dartway_client: ^0.20.0" to clipboard
dartway_client: ^0.20.0 copied to clipboard

The DartWay client — HTTP calls, the live update socket, request state and sessions. Pure Dart.

dartway_client #

The DartWay client — HTTP calls, the live update socket, request state and sessions. Pure Dart, on every side.

It carries calls, the live socket, the session, and the live state of every watched request. testing.dart holds DwFakeServer, an in-memory server that speaks the real HTTP contract and live socket, so an app's own tests do not need a real one.

Where it sits #

dartway_client is one of the six packages of the core family, versioned in lockstep, and it is internal to the family: dartway_core_flutter re-exports it, so a Flutter app reaches it through dartway_core_flutter rather than depending on it directly. A project's own test suites depend on it directly only for DwFakeServer and the other testing.dart fixtures.

dartway create wires this up already — this package is not something you add by hand to a project.

Documentation #

The full documentation lives in the framework's repository, at docs/ — start at docs/3-flutter/ for the app side this package underpins.

0
likes
150
points
86
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The DartWay client — HTTP calls, the live update socket, request state and sessions. Pure Dart.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

dartway_core_shared, http, meta, web_socket_channel

More

Packages that depend on dartway_client