WafPolicySettings.DefaultCustomBlockResponseBody Property

Definition

If the action type is block, customer can override the response body. The body must be specified in base64 encoding.

To assign a byte[] to this property use FromBytes(Byte[]). The byte[] will be serialized to a Base64 encoded string.

Examples:

  • BinaryData.FromBytes(new byte[] { 1, 2, 3 }). : Creates a payload of "AQID".

public BinaryData DefaultCustomBlockResponseBody { get; set; }
member this.DefaultCustomBlockResponseBody : BinaryData with get, set
Public Property DefaultCustomBlockResponseBody As BinaryData

Property Value

Applies to