Module Values.CustomHTTPHeaderSource

A custom header for custom request and response handling. This is used in CustomResponse and CustomRequestHandling.

Sourcetype nonrec t = {
  1. name : CustomHTTPHeaderName.t;
    (*

    The name of the custom header. For custom request header insertion, when WAF inserts the header into the request, it prefixes this name x-amzn-waf-, to avoid confusion with the headers that are already in the request. For example, for the header name sample, WAF inserts the header x-amzn-waf-sample.

    *)
  2. value : CustomHTTPHeaderValue.t;
    (*

    The value of the custom header.

    *)
}
Sourceval context_ : string
Sourceval make : name:CustomHTTPHeaderName.t -> value:CustomHTTPHeaderValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CustomHTTPHeaderName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t