Minimal HTTP Client

A Dart package based on Dio that provides minimal http client to handle HTTP services requests. A minimal http client libaray for network call

Bitbucket open issues

Usage

Example

To use this package :

dependencies:
  flutter:
    sdk: flutter

  minimal_http_client: ^0.0.2

How to use minimal_http_client

  1. At your app start-up initialize below DioHttpService
    final authInterceptor = AuthInterceptor(
        headerCallback: () => {
          'auth_token':
              'Bearer ${DateTime.now().minute}: ${DateTime.now().second}',
          'seassion_key': 'my_seassion_key',
        },
      );
      await DioHttpService().init(authInterceptor: authInterceptor);

Created & Maintained By

Tushar Nikam