TSHttpIsInternalRequest¶
Test whether a request is internally-generated.
Synopsis¶
#include <ts/ts.h>
-
TSReturnCode
TSHttpIsInternalRequest(TSHttpTxn txnp)¶
-
TSReturnCode
TSHttpIsInternalSession(TSHttpSsn ssnp)¶
Description¶
TSHttpIsInternalRequest() tests whether a HTTP transaction
was originated within Traffic Server.
Deprecated
Deprecated in favor of TSHttpTxnIsInternal().
TSHttpIsInternalSession() tests whether a HTTP session
was originated within Traffic Server.
Deprecated
Deprecated in favor of TSHttpSsnIsInternal().
Return Values¶
Both these APIs returns a TSReturnCode, indicating whether the
object was internal (TS_SUCCESS) or not (TS_ERROR).
See Also¶
TSAPI(3ts), TSHttpSsnIsInternal(3ts), TSHttpTxnIsInternal(3ts)