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(getStreamRemoteWindowSize(), getRemoteWindowSize()).
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(getStreamRemoteWindowSize(), getRemoteWindowSize()).
This function returns -1 if it fails.