nghttp2_conn_set_stream_user_data

Synopsis

#include <nghttp2v2/nghttp2.h>

int nghttp2_conn_set_stream_user_data(nghttp2_conn *conn, int64_t stream_id, void *stream_user_data)

nghttp2_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:

NGHTTP2_ERR_STREAM_NOT_FOUND

Stream not found.