dart_network_layer_dio 1.0.0
dart_network_layer_dio: ^1.0.0 copied to clipboard
Dio implementation for dart_network_layer_core. Uses the dio package to make network requests.
dart_network_layer_dio #
Dio implementation of INetworkInvoker from
dart_network_layer_core.
Features #
- Production Ready: A robust implementation of
INetworkInvokerpowered by the popular Dio package. - File Transfers: Out-of-the-box support for multipart uploads and streaming binary downloads.
- Interceptors: Full access to underlying Dio functionality like interceptors for logging, auth, and more.
- OpenAPI Integration: Seamlessly works with generated OpenAPI models and commands.
Guide Status #
The old README usage guide is intentionally invalidated.
Use the maintained docs in the root docs/ folder:
Example Integration #
See example_project for end-to-end usage, including:
- custom invoker extension via
DioNetworkInvoker - generated OpenAPI command classes
- multipart upload and binary download flows
License #
Released under the MIT License.