ngtcp2_conn_get_ccerr

Synopsis

#include <ngtcp2/ngtcp2.h>

const ngtcp2_ccerr *ngtcp2_conn_get_ccerr(ngtcp2_conn *conn)

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