add method

  1. @override
void add(
  1. List<int> data
)
override

Adds bytes to the request body, forwarding to both the underlying request and the internal stream controller for tracking.

Implementation

@override
void add(List<int> data) {
  _streamController.add(data);
  request.add(data);
}