Module Values.HttpMatchSource

Describes criteria that can be applied to incoming requests.

Sourcetype nonrec t = {
  1. method_ : HttpMethod.t option;
    (*

    The HTTP method type.

    *)
  2. pathMatch : PathMatch.t option;
    (*

    The path match.

    *)
  3. headerMatches : HeaderMatchList.t option;
    (*

    The header matches. Matches incoming requests with rule based on request header value before applying rule action.

    *)
}
Sourceval make : ?method_:??? -> ?pathMatch:??? -> ?headerMatches:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of HeaderMatchName.t | `Structure of (string * [> `String of HeaderMatchExact.t ]) list ]) list ] list | `String of HttpMethod.t | `Structure of (string * [> `Boolean of Boolean.t | `Structure of (string * [> `String of PathMatchExact.t ]) list ]) 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