
ngtcp2_conn_get_negotiated_version
==================================

Synopsis
--------

*#include <ngtcp2/ngtcp2.h>*

.. function:: uint32_t ngtcp2_conn_get_negotiated_version(ngtcp2_conn *conn)

    
    .. warning::
    
      .. version-deprecated:: 1.23.0
        Use `ngtcp2_conn_get_negotiated_version2` instead.
    
    `ngtcp2_conn_get_negotiated_version` returns the negotiated
    version.
    
    Until the version is negotiated, this function returns 0.
