[][src]Function libnghttp2_sys::nghttp2_session_get_stream_local_window_size

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

@function

Returns the amount of flow-controlled payload (e.g., DATA) that the remote endpoint can send without receiving stream level WINDOW_UPDATE frame. It is also subject to the connection level flow control. So the actual amount of data to send is min(nghttp2_session_get_stream_local_window_size(), nghttp2_session_get_local_window_size()).

This function returns -1 if it fails.