Class AddHttpResponseHeaderAction
An object that represents the action of replacing or adding a header field. All prior occurrences of the header with the given name are removed and then the header field with specified value is added.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class AddHttpResponseHeaderAction : HeaderManipulationAction
Properties
Header
Declaration
[Required(ErrorMessage = "Header is required.")]
[JsonProperty(PropertyName = "header")]
public string Header { get; set; }
Property Value
Type | Description |
---|---|
string | A header field name that conforms to RFC 7230.
|
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string | A header field value that conforms to RFC 7230.
|
Remarks
Required