Session.consumeConnection

Like consume, but this only tells library that |size| bytes were consumed only for connection level. Note that HTTP/2 maintains connection and stream level flow control windows independently.

This function returns 0 if it succeeds, or one of the following negative error codes:

ErrorCode.INVALID_STATE Automatic WINDOW_UPDATE is not disabled.

class Session
consumeConnection
(
size_t size
)

Meta