nghttp3_qpack_stream_context_new ================================ Synopsis -------- *#include * .. function:: int nghttp3_qpack_stream_context_new(nghttp3_qpack_stream_context **psctx, int64_t stream_id, const nghttp3_mem *mem) `nghttp3_qpack_stream_context_new` initializes stream context. *psctx* must be non-NULL pointer. *stream_id* is stream ID. *mem* is a memory allocator. This function allocates memory for :type:`nghttp3_qpack_stream_context` itself, and assigns its pointer to *\*psctx* if it succeeds. This function returns 0 if it succeeds, or one of the following negative error codes: :macro:`NGHTTP3_ERR_NOMEM` Out of memory.