TSVConn - traffic Server APIs to get TSVConn from TSHttpSsn or TSHttpTxn object
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TSVCONN(3ts)
Description
These APIs allow the developer to get the NetVconnection (represented by TSVConn) from the Http session
(TSHttpSsn) or transaction (TSHttpTxn) object.
TSHttpSsnClientVConnGet() returns the TSVConn associated with the client side TSHttpSsn object.
TSHttpSsnServerVConnGet() returns the same associated with the server side TSHttpSsn.
TSHttpTxnServerVConnGet() returns the same associated with a TSHttpTxn.
Name
TSVConn - traffic Server APIs to get TSVConn from TSHttpSsn or TSHttpTxn object
Synopsis
#include <ts/ts.h>
TSVConnTSHttpSsnClientVConnGet(TSHttpSsnssnp)TSVConnTSHttpSsnServerVConnGet(TSHttpSsnssnp)TSVConnTSHttpTxnServerVConnGet(TSHttpTxntxnp)