ngtcp2_conn_get_max_tx_udp_payload_size2
Synopsis
#include <ngtcp2/ngtcp2.h>
-
size_t ngtcp2_conn_get_max_tx_udp_payload_size2(const ngtcp2_conn *conn)
ngtcp2_conn_get_max_tx_udp_payload_size2()returns the maximum UDP payload size that this local endpoint would send. This is the value ofngtcp2_settings.max_tx_udp_payload_sizethat is passed tongtcp2_conn_client_new()orngtcp2_conn_server_new().Added in version 1.23.0.