ListenerXForwardedFor

data class ListenerXForwardedFor(val retriveClientIp: Boolean? = null, val retriveSlbId: Boolean? = null, val retriveSlbIp: Boolean? = null, val retriveSlbProto: Boolean? = null)

Constructors

Link copied to clipboard
fun ListenerXForwardedFor(retriveClientIp: Boolean? = null, retriveSlbId: Boolean? = null, retriveSlbIp: Boolean? = null, retriveSlbProto: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether to retrieve the client ip.

Link copied to clipboard
val retriveSlbId: Boolean? = null

Indicates whether the SLB-ID header is used to retrieve the ID of the CLB instance. Default value: false. Valid values: true, false.

Link copied to clipboard
val retriveSlbIp: Boolean? = null

Indicates whether the SLB-IP header is used to retrieve the virtual IP address (VIP) requested by the client. Default value: false. Valid values: true, false.

Link copied to clipboard

Specifies whether to use the X-Forwarded-Proto header to retrieve the listener protocol. Default value: false. Valid values: true, false.