ngtcp2_conn_encode_local_transport_params

Synopsis

#include <ngtcp2/ngtcp2.h>

ngtcp2_ssize ngtcp2_conn_encode_local_transport_params(ngtcp2_conn *conn, uint8_t *dest, size_t destlen)

ngtcp2_conn_encode_local_transport_params() encodes the local QUIC transport parameters in dest of length destlen.

This function returns the number of bytes written, or one of the following negative error codes:

NGTCP2_ERR_NOBUF

Buffer is too small.