libnghttp2_sys

Function nghttp2_session_want_read

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

@function

Returns nonzero value if |session| wants to receive data from the remote peer.

If both nghttp2_session_want_read() and nghttp2_session_want_write() return 0, the application should drop the connection.