TSHttpTxnParentProxySet

Sets the parent proxy :arg:`hostname` and :arg:`port`.

Synopsis

#include <ts/ts.h>

void TSHttpTxnParentProxySet(TSHttpTxn txnp, const char * hostname, int port)

Description

The string :arg:`hostname` is copied into the TSHttpTxn. You can modify or delete the string after calling TSHttpTxnParentProxySet().