ngtcp2_conn_get_max_tx_udp_payload_size

Synopsis

#include <ngtcp2/ngtcp2.h>

size_t ngtcp2_conn_get_max_tx_udp_payload_size(ngtcp2_conn *conn)

ngtcp2_conn_get_max_tx_udp_payload_size() returns the maximum UDP payload size that this local endpoint would send. This is the value of ngtcp2_settings.max_tx_udp_payload_size that is passed to ngtcp2_conn_client_new() or ngtcp2_conn_server_new().