ngtcp2_conn_get_ccerr2

Synopsis

#include <ngtcp2/ngtcp2.h>

const ngtcp2_ccerr *ngtcp2_conn_get_ccerr2(const ngtcp2_conn *conn)

ngtcp2_conn_get_ccerr2() returns the received connection close error. If no connection error is received, it returns ngtcp2_ccerr that is initialized by ngtcp2_ccerr_default().

Added in version 1.23.0.