[][src]Function libnghttp2_sys::nghttp2_session_get_stream_effective_local_window_size

pub unsafe extern "C" fn nghttp2_session_get_stream_effective_local_window_size(
    session: *mut nghttp2_session,
    stream_id: i32
) -> i32

@function

Returns the local (receive) window size for the stream |stream_id|. The local window size can be adjusted by nghttp2_submit_window_update(). This function takes into account that and returns effective window size.

This function does not take into account the amount of received data from the remote endpoint. Use nghttp2_session_get_stream_local_window_size() to know the amount of data the remote endpoint can send without receiving stream level WINDOW_UPDATE frame. Note that each stream is still subject to the connection level flow control.

This function returns -1 if it fails.