Module Values.HeaderMatchPatternSource

The filter to use to identify the subset of headers to inspect in a web request. You must specify exactly one setting: either All, IncludedHeaders, or ExcludedHeaders. Example JSON: "MatchPattern": { "ExcludedHeaders": [ "KeyToExclude1", "KeyToExclude2" ] }

Sourcetype nonrec t = {
  1. all : All.t option;
    (*

    Inspect all headers.

    *)
  2. includedHeaders : HeaderNames.t option;
    (*

    Inspect only the headers that have a key that matches one of the strings specified here.

    *)
  3. excludedHeaders : HeaderNames.t option;
    (*

    Inspect only the headers whose keys don't match any of the strings specified here.

    *)
}
Sourceval make : ?all:??? -> ?includedHeaders:??? -> ?excludedHeaders:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of FieldToMatchData.t ] list | `Structure of 'a list ]) 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