ngtcp2_conn_get_expiry

Synopsis

#include <ngtcp2/ngtcp2.h>

ngtcp2_tstamp ngtcp2_conn_get_expiry(ngtcp2_conn *conn)

Warning

Deprecated since version 1.23.0: Use ngtcp2_conn_get_expiry2() instead.

ngtcp2_conn_get_expiry() returns the next expiry time. It returns UINT64_MAX if there is no next expiry.

Call ngtcp2_conn_handle_expiry() when the expiry time has passed.