nabto_client_stream_new()

DESCRIPTION

Create a stream.

DECLARATION

NABTO_CLIENT_DECL_PREFIX NabtoClientStream* NABTO_CLIENT_API
nabto_client_stream_new(NabtoClientConnection* connection)

PARAMETERS

connection:
[in] The 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.