sink property

EventSink<List<int>> 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

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