TSHttpNextHopStrategyNameGet

Synopsis

#include <ts/ts.h>
char const *TSHttpNextHopStrategyNameGet(void const *strategy)

Description

Gets the name associated with the provided strategy. This may be nullptr indicating that parent.config is in use.

Note

This returned pointer must not be freed and the contents must not be changed. Strategy pointers held by plugins will become invalid when ATS configs are reloaded and should be reset with TSRemapNewInstance()

See Also

TSHttpTxnNextHopStrategyGet()