Module Values.HttpRouteSource

An object that represents an HTTP or HTTP/2 route type.

Sourcetype nonrec t = {
  1. action : HttpRouteAction.t;
    (*

    An object that represents the action to take if a match is determined.

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

    An object that represents the criteria for determining a request match.

    *)
  3. retryPolicy : HttpRetryPolicy.t option;
    (*

    An object that represents a retry policy.

    *)
  4. timeout : HttpTimeout.t option;
    (*

    An object that represents types of timeouts.

    *)
}
Sourceval context_ : string
Sourceval make : ?retryPolicy:??? -> ?timeout:??? -> action:HttpRouteAction.t -> match_:HttpRouteMatch.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of ListenerPort.t | `List of [> `Enum of string | `String of HttpRetryPolicyEvent.t | `Structure of (string * [> `Boolean of Boolean.t | `Integer of ListenerPort.t | `String of ResourceName.t | `Structure of (string * [> `String of HeaderMatch.t | `Structure of (string * [> `Long of Long.t ]) list ]) list ]) list ] list | `Long of MaxRetries.t | `String of String_.t | `Structure of (string * [> `Enum of string | `Long of DurationValue.t | `String of HttpPathExact.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