nabto_client_stream_stop()

DESCRIPTION

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.

DECLARATION

NABTO_CLIENT_DECL_PREFIX void NABTO_CLIENT_API
nabto_client_stream_stop(NabtoClientStream* stream)

PARAMETERS

stream:
[in] The stream.

RETURN VALUES

None.

EXAMPLES

None.