DataScript: avi.pool.server_ip

Function avi.pool.server_ip()
Description Returns the IPv4 (or, starting with 18.1.3, IPv6) address of the server for this request or response. Keep in mind that with content switching or multiplexing, a single client connection may have multiple requests, each distributed to a different server.
Parameter None
Returns Returns a string of the server's IP address
avi.http.add_header("Server", avi.pool.server_ip())