ngtcp2_conn_set_stream_user_data
Synopsis
#include <ngtcp2/ngtcp2.h>
-
int ngtcp2_conn_set_stream_user_data(ngtcp2_conn *conn, int64_t stream_id, void *stream_user_data)
ngtcp2_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:
NGTCP2_ERR_STREAM_NOT_FOUND
Stream does not exist