nghttp3_conn_add_ack_offset

Synopsis

#include <nghttp3/nghttp3.h>

int nghttp3_conn_add_ack_offset(nghttp3_conn *conn, int64_t stream_id, uint64_t n)

nghttp3_conn_add_ack_offset() tells conn the number of bytes n for stream denoted by stream_id QUIC stack has acknowledged.

If a stream denoted by stream_id is not found, this function returns 0.

Alternatively, nghttp3_conn_update_ack_offset() can be used to accomplish the same thing.

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

NGHTTP3_ERR_CALLBACK_FAILURE

User callback failed.