TSHttpTxnClientStreamIdGet - TSHttpTxnClientStreamIdGet API function
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TSHTTPTXNCLIENTSTREAMIDGET(3ts)
Description
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 RFC7540 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.
Name
TSHttpTxnClientStreamIdGet - TSHttpTxnClientStreamIdGet API function
See Also
TSHttpTxnClientStreamPriorityGet
Synopsis
#include <ts/ts.h>
TSReturnCodeTSHttpTxnClientStreamIdGet(TSHttpTxntxnp,uint64_t*stream_id)