setHeader
Defines an RFC822-compliant header value in Optimizely Campaign.
Type: void
Parameters
Name | Type | Value |
---|---|---|
sessionId | String | ID of the session |
mailingId | long | ID of the mailing |
Name | String | Field name Must be compliant with RFC822 (only 7bit US-ASCII characters are allowed). |
Value | String | Value of the header field Must be compliant with RFC822 (only 7bit US-ASCII characters are allowed). |
Return values
-
Code structure
void setHeader(String sessionId, long mailingId, String name, String value)
Updated almost 3 years ago