docs.unity3d.com
    Show / Hide Table of Contents

    Interface IServiceHostResolver

    Resolves the service environment and domain provider for the application.

    Namespace: Unity.Cloud.Common
    Syntax
    public interface IServiceHostResolver

    Methods

    GetResolvedAddress(ServiceProtocol)

    Returns the service address for the specified inputs.

    Declaration
    string GetResolvedAddress(ServiceProtocol protocol = ServiceProtocol.Http)
    Parameters
    Type Name Description
    ServiceProtocol protocol

    The web protocol.

    Returns
    Type Description
    String

    The service address.

    GetResolvedDomainProvider()

    Gets the resolved the ServiceDomainProvider.

    Declaration
    ServiceDomainProvider GetResolvedDomainProvider()
    Returns
    Type Description
    ServiceDomainProvider

    The resolved service domain provider.

    GetResolvedEnvironment()

    Gets the resolved ServiceEnvironment.

    Declaration
    ServiceEnvironment GetResolvedEnvironment()
    Returns
    Type Description
    ServiceEnvironment

    The resolved environment.

    GetResolvedRequestUri(String, ServiceProtocol)

    Resolves and returns the request URI for the specified path and protocol.

    Declaration
    string GetResolvedRequestUri(string path, ServiceProtocol protocol = ServiceProtocol.Http)
    Parameters
    Type Name Description
    String path

    The request path.

    ServiceProtocol protocol

    The web protocol.

    Returns
    Type Description
    String

    The Uri string.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023