Interface IQosDiscoveryApi
Represents a collection of functions to interact with the API endpoints
Namespace: Unity.Services.Apis.QoS
Assembly: Unity.Services.Apis.dll
Syntax
public interface IQosDiscoveryApi : IApiAccessor
Methods
GetServers(List<string>, string, CancellationToken)
Get Servers
Declaration
ApiOperation<QosServersResponseBody> GetServers(List<string> region = null, string service = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
List<string> | region | (optional) |
string | service | The service for which the client is requesting QoS servers. Valid values are: - relay - multiplay (optional) |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |
GetServiceServers(string, List<string>, List<string>, CancellationToken)
Get Service Servers
Declaration
ApiOperation<QosServiceServersResponseBody> GetServiceServers(string serviceId, List<string> region = null, List<string> fleet = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | serviceId | The service for which the client is requesting QoS servers. Valid values are: - relay - multiplay |
List<string> | region | (optional) |
List<string> | fleet | (optional) |
Cancellation |
cancellationToken | Cancellation Token to cancel the request. |
Returns
Type | Description |
---|---|
Api |
The operation |