nghttp3_conn_is_stream_writable
Synopsis
#include <nghttp3/nghttp3.h>
-
int nghttp3_conn_is_stream_writable(nghttp3_conn *conn, int64_t stream_id)
nghttp3_conn_is_stream_writable()returns nonzero if a stream identified by stream_id is writable. It is not writable if:the stream does not exist; or,
the stream is closed (e.g.,
nghttp3_conn_close_stream()is called); or,the stream is QUIC flow control blocked (e.g.,
nghttp3_conn_block_stream()is called); or,the stream is input data blocked (e.g.,
NGHTTP3_ERR_WOULDBLOCKis returned fromnghttp3_read_data_callback); or,the stream is half-closed local (e.g.,
nghttp3_conn_shutdown_stream_write()is called).