TSHttpTxnResponseActionGet

Synopsis

#include <ts/ts.h>
void TSHttpTxnResponseActionGet(TSHttpTxn txnp, TSResponseAction *action)

Description

Gets the ResponseAction set by a plugin.

The action is an out-param and must point to a valid location

The returned action.hostname must not be modified, and is owned by some plugi n if not null.

The action members will always be zero, if no plugin has called TSHttpTxnResp onseActionSet.

typedef uint16_t in_port_t

A type representing a port number.

struct TSResponseAction

Exposed for custom parent selection behavior.

char const *hostname

The host for next request.

size_t hostname_len

The host length for next request (not including null).

in_port_t port

The port for next request.