close method

void close()

Abandon this stream: RST CANCELLED unless it already completed.

Implementation

void close() => cancel();