nghttp2_conn_shutdown_stream ============================ Synopsis -------- *#include * .. function:: void nghttp2_conn_shutdown_stream(nghttp2_conn *conn, uint32_t flags, int64_t stream_id, uint32_t error_code) `nghttp2_conn_shutdown_stream` closes a stream denoted by *stream_id* abruptly. *error_code* is one of HTTP/2 error codes, and indicates the reason of shutdown. Successful call of this function does not immediately erase the state of the stream. The actual deletion is done when the RST_STREAM frame is sent. *flags* is currently unused, and should be set to 0.