nghttp3_conn_set_stream_user_data

Synopsis

#include <nghttp3/nghttp3.h>

int nghttp3_conn_set_stream_user_data(nghttp3_conn *conn, int64_t stream_id, void *stream_user_data)

nghttp3_conn_set_stream_user_data() sets stream_user_data to the stream identified by stream_id.

This function returns 0 if it succeeds, or one of the following negative error codes:

NGHTTP3_ERR_STREAM_NOT_FOUND

Stream not found.