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.

注釈

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)

バージョン 11.0.0 で非推奨: Use TSNextHopStrategyNameGet(). This 10.2 name will be removed in a future major release.

Forwards to TSNextHopStrategyNameGet().

See Also

TSHttpTxnNextHopStrategyGet()