TSVConn

Traffic Server APIs to get TSVConn from TSHttpSsn or TSHttpTxn object.

Synopsis

#include <ts/ts.h>
TSVConn TSHttpSsnClientVConnGet(TSHttpSsn ssnp)
TSVConn TSHttpSsnServerVConnGet(TSHttpSsn ssnp)
TSVConn TSHttpTxnServerVConnGet(TSHttpTxn txnp)

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.