ngtcp2_conn_get_expiry

Synopsis

#include <ngtcp2/ngtcp2.h>

ngtcp2_tstamp ngtcp2_conn_get_expiry(ngtcp2_conn *conn)

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

Call ngtcp2_conn_handle_expiry() and then ngtcp2_conn_writev_stream() (or ngtcp2_conn_writev_datagram()) when the expiry time has passed.