nghttp3_conn_close_stream ========================= Synopsis -------- *#include * .. function:: int nghttp3_conn_close_stream(nghttp3_conn *conn, int64_t stream_id, uint64_t app_error_code) `nghttp3_conn_close_stream` closes stream identified by *stream_id*. QUIC application error code *app_error_code* is the reason of the closure. 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_H3_CLOSED_CRITICAL_STREAM` A critical stream is closed. :macro:`NGHTTP3_ERR_CALLBACK_FAILURE` User callback failed