Proxy.get_mode() function internally relies on proxy_mode_str() to return
the proxy mode. The current function description is exhaustive about the
possible outputs for the function. I can't tell if it's relevant or not
but it's subject to changes. Here it is the case, the documentation
indicates that "health" mode may be returned, which cannot happen
since
77e0daef9 ("MEDIUM: proxy: remove obsolete "mode health"").
This should be backported up to 2.4
:param class_proxy px: A :ref:`proxy_class` which indicates the manipulated
proxy.
- :returns: a string "tcp", "http", "health" or "unknown"
+ :returns: a string "tcp", "http" or "unknown"
.. js:function:: Proxy.get_srv_act(px)