TSNextHopStrategyNameGet
Synopsis
#include <ts/ts.h>
-
char const *TSNextHopStrategyNameGet(TSStrategy strategy)
Description
Gets the name of strategy. Returns nullptr if strategy is nullptr, i.e. no strategy is set and 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 become invalid when ATS configs
are reloaded and must be re-obtained during TSRemapNewInstance()
Deprecated
-
char const *TSHttpNextHopStrategyNameGet(void const *strategy)
Deprecated since version 11.0.0: Use
TSNextHopStrategyNameGet(). This 10.2 name will be removed in a future major release.Forwards to
TSNextHopStrategyNameGet().