ngtcp2_crypto_picotls_collect_extension

Synopsis

#include <ngtcp2/ngtcp2_crypto_picotls.h>

int ngtcp2_crypto_picotls_collect_extension(ptls_t *ptls, struct st_ptls_handshake_properties_t *properties, uint16_t type)

ngtcp2_crypto_picotls_collect_extension() is a callback function which only returns nonzero if type == NGTCP2_TLSEXT_QUIC_TRANSPORT_PARAMETERS_V1.