nghttp3_conn_submit_shutdown_notice

Synopsis

#include <nghttp3/nghttp3.h>

int nghttp3_conn_submit_shutdown_notice(nghttp3_conn *conn)

nghttp3_conn_submit_shutdown_notice() notifies the other endpoint to stop creating new stream. After a couple of RTTs later, call nghttp3_conn_shutdown() to start graceful shutdown.

This function returns 0 if it succeeds, or one of the following negative error codes:

NGHTTP3_ERR_NOMEM

Out of memory.