Module Values.HttpGatewayRouteSource

An object that represents an HTTP gateway route.

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

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

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

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

    *)
}
Sourceval context_ : string
Sourceval make : action:HttpGatewayRouteAction.t -> match_:HttpGatewayRouteMatch.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of ListenerPort.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of HeaderName.t | `Structure of (string * [> `String of HeaderMatch.t | `Structure of (string * [> `Long of Long.t ]) list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Integer of ListenerPort.t | `String of ExactHostName.t | `Structure of (string * [> `Enum of string | `String of HttpPathExact.t ]) list ]) 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