StreamedRequest constructor

StreamedRequest(
  1. String method,
  2. Uri url, {
  3. RequestController? controller,
})

Creates a new streaming request.

Implementation

StreamedRequest(super.method, super.url, {super.controller})
    : _streamController = StreamController<List<int>>(sync: true);