nghttp3_conn_is_drained

Synopsis

#include <nghttp3/nghttp3.h>

int nghttp3_conn_is_drained(nghttp3_conn *conn)

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.