DataScript: avi.pool.server_ip
DataScript
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. |
Events | HTTP_RESP |
Parameter | None |
Returns | Returns a string of the server's IP address |
Example |
|
Note: This API is not supported in the events SSL_PRECONNECT
, SSL_CLIENTHELLO
, and SSL_HANDSHAKE_DONE
.