Module Values.HeaderMatchMethodSource

An object that represents the method and value to match with the header value sent in a request. Specify one match method.

Sourcetype nonrec t = {
  1. exact : HeaderMatch.t option;
    (*

    The value sent by the client must match the specified value exactly.

    *)
  2. prefix : HeaderMatch.t option;
    (*

    The value sent by the client must begin with the specified characters.

    *)
  3. range : MatchRange.t option;
    (*

    An object that represents the range of values to match on.

    *)
  4. regex : HeaderMatch.t option;
    (*

    The value sent by the client must include the specified characters.

    *)
  5. suffix : HeaderMatch.t option;
    (*

    The value sent by the client must end with the specified characters.

    *)
}
Sourceval make : ?exact:??? -> ?prefix:??? -> ?range:??? -> ?regex:??? -> ?suffix:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of HeaderMatch.t | `Structure of (string * [> `Long of Long.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