nabto_device_virtual_stream_free()

DESCRIPTION

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

DECLARATION

    NABTO_DEVICE_DECL_PREFIX void NABTO_DEVICE_API
        nabto_device_virtual_stream_free(NabtoDeviceVirtualStream* stream)

PARAMETERS

stream:
[in] The virtual stream to free