dart_network_layer_dio

GitHub | pub.dev

Dio implementation of INetworkInvoker from dart_network_layer_core.

Features

  • Production Ready: A robust implementation of INetworkInvoker powered 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.