ngtcp2_connection_close_error_set_application_error =================================================== Synopsis -------- *#include * .. function:: void ngtcp2_connection_close_error_set_application_error( ngtcp2_connection_close_error *ccerr, uint64_t error_code, const uint8_t *reason, size_t reasonlen) `ngtcp2_connection_close_error_set_application_error` sets :member:`ccerr->type ` to :enum:`ngtcp2_connection_close_error_code_type.NGTCP2_CONNECTION_CLOSE_ERROR_CODE_TYPE_APPLICATION`, and :member:`ccerr->error_code ` to *error_code*. *reason* is the reason phrase of length *reasonlen*. This function does not make a copy of the reason phrase.