modules/common_utils/infrastructure/http_clients/http_clients library

Classes

HttpAuthClient
JsonHttpClient<T extends Client>

Constants

CONTENT_TYPE_HEADER → const String

Functions

convertResponseToStreamedResponse(Response response) → StreamedResponse
Converts an existing http.Response (non-streamed) into an http.StreamedResponse.
simulateStreamedResponseFromString(String bodyString, {int statusCode = 200, Map<String, String>? headers}) → StreamedResponse