TSTxnType

Synopsis


enum TSTxnType

Specify the type of a transaction argument

enumerator TS_TXN_TYPE_UNKNOWN

Invalid value. This is used to indicate a failure or for initialization.

enumerator TS_TXN_TYPE_HTTP

A HTTP transaction. This includes CONNECT method requests which will create a tunnel.

enumerator TS_TXN_TYPE_EXPLICIT_TUNNEL

A blind tunnel transaction created based on a configuration file or an API call.

enumerator TS_TXN_TYPE_TR_PASS_TUNNEL

A blind tunnel created based on a parse error for a server port with tr-pass set.

Description

Specify the type of a transaction. Plugins can use this to determine if they are interacting with tunnels or parsed HTTP requests.