nabto_device_stream_free()

DESCRIPTION

Free a stream. If a stream has unresolved futures when freed, they may not be resolved. For streams with outstanding futures, call nabto_device_stream_abort(), and free the stream when all futures are resolved.

DECLARATION

NABTO_DEVICE_DECL_PREFIX void NABTO_DEVICE_API
nabto_device_stream_free(NabtoDeviceStream* stream)

PARAMETERS

stream:
[in] The stream to free