cancel method

void cancel()

Abandon this stream (RST CANCELLED unless completed).

Implementation

void cancel() => _stream.cancel();