Module Values.RouteSpecSource

An object that represents a route specification. Specify one route type.

Sourcetype nonrec t = {
  1. grpcRoute : GrpcRoute.t option;
    (*

    An object that represents the specification of a gRPC route.

    *)
  2. http2Route : HttpRoute.t option;
    (*

    An object that represents the specification of an HTTP/2 route.

    *)
  3. httpRoute : HttpRoute.t option;
    (*

    An object that represents the specification of an HTTP route.

    *)
  4. priority : RoutePriority.t option;
    (*

    The priority for the route. Routes are matched based on the specified value, where 0 is the highest priority.

    *)
  5. tcpRoute : TcpRoute.t option;
    (*

    An object that represents the specification of a TCP route.

    *)
}
Sourceval make : ?grpcRoute:??? -> ?http2Route:??? -> ?httpRoute:??? -> ?priority:??? -> ?tcpRoute:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RoutePriority.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 MethodName.t | `Structure of (string * [> `Enum of string | `Long of DurationValue.t | `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