Module Values.GrpcRouteMatchSource

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

Sourcetype nonrec t = {
  1. metadata : GrpcRouteMetadataList.t option;
    (*

    An object that represents the data to match from the request.

    *)
  2. methodName : MethodName.t option;
    (*

    The method name to match from the request. If you specify a name, you must also specify a serviceName.

    *)
  3. port : ListenerPort.t option;
    (*

    The port number to match on.

    *)
  4. serviceName : ServiceName.t option;
    (*

    The fully qualified domain name for the service to match from the request.

    *)
}
Sourceval make : ?metadata:??? -> ?methodName:??? -> ?port:??? -> ?serviceName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure 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 MethodName.t ]) 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