DomainRedirectRequestHeader

data class DomainRedirectRequestHeader(val key: String? = null, val value: String? = null)

Constructors

Link copied to clipboard
constructor(key: String? = null, value: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: String? = null

The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is {" k ":"_key_"," v ":"_value_"}. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.

Link copied to clipboard
val value: String? = null

The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is {" k ":"_key_"," v ":"_value_"}. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.