nabto_device_stream_get_connection_ref()

DESCRIPTION

Get a reference to the underlying connection.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceConnectionRef NABTO_DEVICE_API
nabto_device_stream_get_connection_ref(NabtoDeviceStream* stream)

PARAMETERS

stream:
[in] the stream to get connection from

RETURNS

Connection reference of the stream