nghttp3_conn_submit_info
Synopsis
#include <nghttp3/nghttp3.h>
-
int nghttp3_conn_submit_info(nghttp3_conn *conn, int64_t stream_id, const nghttp3_nv *nva, size_t nvlen)
nghttp3_conn_submit_info()submits HTTP non-final response header fields on the stream identified by stream_id. nva of length nvlen specifies HTTP response header fields.This function returns 0 if it succeeds, or one of the following negative error codes:
NGHTTP3_ERR_STREAM_NOT_FOUNDStream not found
NGHTTP3_ERR_NOMEMOut of memory.