utils/client/client library

Classes

Client
A stateless HTTP client with configurable global settings.

Typedefs

AfterEffect = Future<void> Function({dynamic body, required Map<String, String> headers, required String method, required Response response, required Uri uri})
Executes after an HTTP response is received.
Interceptor = Future<void> Function({dynamic body, required Map<String, String> headers, required String method, required Uri uri})
Intercepts an HTTP request before it's sent.
OnError = void Function(FinnUtilsClientException error)
Callback for handling HTTP errors.
OnSuccess = void Function(String response)
Callback for handling successful HTTP responses.