abort method
Aborts the stream with an application error code, dropping buffered data.
Implementation
@override
Future<void> abort([int errorCode = 0]) async {
checkStatus(
b.wt_send_stream_reset(_handle, errorCode),
'wt_send_stream_reset',
);
}