nghttp3_conn_shutdown ===================== Synopsis -------- *#include * .. function:: int nghttp3_conn_shutdown(nghttp3_conn *conn) `nghttp3_conn_shutdown` starts graceful shutdown. It should be called after `nghttp3_conn_submit_shutdown_notice` and a couple of RTTs. After calling this function, the local endpoint starts rejecting new incoming streams. The existing streams are processed normally. See also `nghttp3_conn_is_drained`. This function returns 0 if it succeeds, or one of the following negative error codes: :macro:`NGHTTP3_ERR_NOMEM` Out of memory.