ngtcp2_crypto_picotls_configure_client_context ============================================== Synopsis -------- *#include * .. function:: int ngtcp2_crypto_picotls_configure_client_context(ptls_context_t *ctx) `ngtcp2_crypto_picotls_configure_client_context` configures *ctx* for client side QUIC connection. It performs the following modifications: - Set omit_end_of_early_data to 1. - Set update_traffic_key callback. Application must set a pointer to :type:`ngtcp2_crypto_conn_ref` to ptls_t object by assigning the pointer using ptls_get_data_ptr, and :type:`ngtcp2_crypto_conn_ref` object must have :member:`ngtcp2_crypto_conn_ref.get_conn` field assigned to get :type:`ngtcp2_conn`. It returns 0 if it succeeds, or -1.