Abort / stop a stream.
Aborting of a stream does not care about whether there’s unacknowledged data, it forces the stream to stop. Outstanding read/write/close callbacks will be resolved as the stream is forcefully stopped. The function is not blocking so the actual callbacks may not be resolved until this function returns.
NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API nabto_client_stream_abort(NabtoClientStream* stream)
- [in] The stream.