sink property

StreamSink<List<int>> get sink

The sink to which to write data that will be sent as the request body.

This may be safely written to before the request is sent; the data will be buffered.

Closing this signals the end of the request.

Implementation

StreamSink<List<int>> get sink => _controller.sink;