ngtcp2_conn_get_negotiated_version2
Synopsis
#include <ngtcp2/ngtcp2.h>
-
uint32_t ngtcp2_conn_get_negotiated_version2(const ngtcp2_conn *conn)
ngtcp2_conn_get_negotiated_version2()returns the negotiated version.Until the version is negotiated, this function returns 0.
Added in version 1.23.0.