modules/common_utils/infrastructure/infrastructure library

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

Exceptions / Errors

MissingHttpClientException