Function libnghttp2_sys::nghttp2_session_get_stream_remote_window_size [−][src]
pub unsafe extern "C" fn nghttp2_session_get_stream_remote_window_size(
session: *mut nghttp2_session,
stream_id: i32
) -> i32
@function
Returns the remote window size for a given stream |stream_id|.
This is the amount of flow-controlled payload (e.g., DATA) that the
local endpoint can send without stream level WINDOW_UPDATE. There
is also connection level flow control, so the effective size of
payload that the local endpoint can actually send is
min(nghttp2_session_get_stream_remote_window_size()
,
nghttp2_session_get_remote_window_size()
).
This function returns -1 if it fails.