getStreamed abstract method

Future<StreamedResponse> getStreamed(
  1. Uri uri, {
  2. Map<String, String>? headers,
})

Makes an HTTP GET streamed request to a resource identified by uri.

An implementation could provide re-try or forwarding mechanism, only the final response is returned to a client.

Implementation

Future<http.StreamedResponse> getStreamed(
  Uri uri, {
  Map<String, String>? headers,
});