ngtcp2_conn_get_negotiated_version

Synopsis

#include <ngtcp2/ngtcp2.h>

uint32_t ngtcp2_conn_get_negotiated_version(ngtcp2_conn *conn)

ngtcp2_conn_get_negotiated_version() returns the negotiated version.

Until the version is negotiated, this function returns 0.