utils/http_client library

Constants

debugNetworkProxy → const bool
enable network proxy

Functions

httpDelete(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PUT that support Logging
httpGet(Uri uri, {Map<String, String>? headers, bool enableDio = false, bool refreshCache = false}) Future<Response>
The default http GET that support Logging
httpPatch(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PATCH that support Logging
httpPost(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http POST that support Logging
httpPut(Uri uri, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PUT that support Logging
initProxyClient(Uri url) → void

Exceptions / Errors

ProxyException