docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IQosDiscoveryApi

    Represents a collection of functions to interact with the API endpoints

    Inherited Members
    IApiAccessor.Configuration
    IApiAccessor.GetBasePath()
    Namespace: Unity.Services.Apis.QoS
    Assembly: solution.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)

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<QosServersResponseBody>

    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)

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<QosServiceServersResponseBody>

    The operation

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)