nghttp3_conn_is_drained

Synopsis

#include <nghttp3/nghttp3.h>

int nghttp3_conn_is_drained(nghttp3_conn *conn)

Warning

Deprecated since version 1.16.0: Use nghttp3_conn_is_drained2() instead.

nghttp3_conn_is_drained() returns nonzero if nghttp3_conn_shutdown() has been called, and there is no active remote streams. This function is for server use only.