TSHttpTxnClientStreamIdGet(3ts)

TSHttpTxnClientStreamIdGet3ts

Tshttptxnclientstreamidget api function

Usage

#include <ts/ts.h>
TSReturnCode TSHttpTxnClientStreamIdGet(TSHttpTxn txnp, uint64_t *stream_id)

Overview

Retrieve the stream identification for the HTTP stream of which the provided transaction is a part. The resultant stream identifier is populated in the stream_id output parameter.

This interface currently only supports HTTP/2 streams. See RFC 7540 section 5.1.1 for details concerning HTTP/2 stream identifiers.

This API returns an error if the provided transaction is not an HTTP/2 transaction.

From trafficserver-dev 9.2.5+ds-0+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.