utils/http_client library

Classes

HttpBase

Constants

debugNetworkProxy → const bool
enable network proxy

Functions

httpDelete(Uri url, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PUT that support Logging
httpGet(Uri url, {Map<String, String>? headers, bool enableDio = false, String kWebProxy = ''}) Future<Response>
The default http GET that support Logging
httpPatch(Uri url, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http PATCH that support Logging
httpPost(Uri url, {Map<String, String>? headers, Object? body, bool enableDio = false}) Future<Response>
The default http POST that support Logging
httpPut(Uri url, {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