Module Values.HeaderMatchSource

Describes the constraints for a header match. Matches incoming requests with rule based on request header value before applying rule action.

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

    The name of the header.

    *)
  2. match_ : HeaderMatchType.t;
    (*

    The header match type.

    *)
  3. caseSensitive : Boolean.t option;
    (*

    Indicates whether the match is case sensitive.

    *)
}
Sourceval context_ : string
Sourceval make : ?caseSensitive:??? -> name:HeaderMatchName.t -> match_:HeaderMatchType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of HeaderMatchName.t | `Structure of (string * [> `String of HeaderMatchExact.t ]) 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