nabto_device_virtual_stream_new()
DESCRIPTION
Create a virtual stream.
DECLARATION
NABTO_DEVICE_DECL_PREFIX NabtoDeviceVirtualStream* NABTO_DEVICE_API
nabto_device_virtual_stream_new(NabtoDeviceVirtualConnection* connection)
PARAMETERS
connection:
- [in] The virtual connection to make the stream on, the connection needs to be kept alive until the stream has been freed.
RETURNS
NULL if the stream could not be created, non NULL otherwise.