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 returnsngtcp2_ccerrthat is initialized byngtcp2_ccerr_default().