libnghttp2_sys

Function nghttp2_session_get_stream_remote_close

Source
pub unsafe extern "C" fn nghttp2_session_get_stream_remote_close(
    session: *mut nghttp2_session,
    stream_id: i32,
) -> c_int
Expand description

@function

Returns 1 if remote peer half closed the given stream |stream_id|. Returns 0 if it did not. Returns -1 if no such stream exists.