Module Values.PlayerLatencyPolicySource

Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time.

Sourcetype nonrec t = {
  1. maximumIndividualPlayerLatencyMilliseconds : WholeNumber.t option;
    (*

    The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.

    *)
  2. policyDurationSeconds : WholeNumber.t option;
    (*

    The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.

    *)
}
Sourceval make : ?maximumIndividualPlayerLatencyMilliseconds:??? -> ?policyDurationSeconds:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of WholeNumber.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