Module Values.TcpRouteSource

An object that represents a TCP route type.

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

    The action to take if a match is determined.

    *)
  2. match_ : TcpRouteMatch.t option;
    (*

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

    *)
  3. timeout : TcpTimeout.t option;
    (*

    An object that represents types of timeouts.

    *)
}
Sourceval context_ : string
Sourceval make : ?match_:??? -> ?timeout:??? -> action:TcpRouteAction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Integer of ListenerPort.t | `List of [> `Structure of (string * [> `Integer of ListenerPort.t | `String of ResourceName.t ]) list ] list | `Structure of (string * [> `Enum of string | `Long of DurationValue.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