Same as nabto_client_stream_abort
Stopping 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 be resolved after this function returns.
NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API
- [in] The stream.