nghttp2_conn_terminate ====================== Synopsis -------- *#include * .. function:: void nghttp2_conn_terminate(nghttp2_conn *conn, uint32_t error_code) `nghttp2_conn_terminate` shutdowns the connection abruptly with the given *error_code*. After calling this function, `nghttp2_conn_read` discards all incoming data. Close the underlying connection after `nghttp2_conn_write` returns :macro:`NGHTTP2_ERR_CLOSING`.