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:
The connection to make the stream on, the connection needs to be kept alive until the stream has been freed.

RETURN VALUES

NULL if the stream could not be created, non NULL otherwise.

EXAMPLES

None.