nghttp3_conn_submit_trailers ============================ Synopsis -------- *#include * .. function:: int nghttp3_conn_submit_trailers(nghttp3_conn *conn, int64_t stream_id, const nghttp3_nv *nva, size_t nvlen) `nghttp3_conn_submit_trailers` submits HTTP trailer fields on the stream identified by *stream_id*. *nva* of length *nvlen* specifies HTTP trailer fields. Calling this function implies the end of stream. This function returns 0 if it succeeds, or one of the following negative error codes: :macro:`NGHTTP3_ERR_STREAM_NOT_FOUND` Stream not found :macro:`NGHTTP3_ERR_INVALID_STATE` Application has already submitted fin to stream. :macro:`NGHTTP3_ERR_NOMEM` Out of memory.