ngtcp2_conn_get_tls_alert2

Synopsis

#include <ngtcp2/ngtcp2.h>

uint8_t ngtcp2_conn_get_tls_alert2(const ngtcp2_conn *conn)

ngtcp2_conn_get_tls_alert2() returns the value set by ngtcp2_conn_set_tls_alert(). If no value is set, this function returns 0.

Added in version 1.23.0.