{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class HttpHostingService | Addressables | 1.21.17
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class HttpHostingService

    HTTP implementation of hosting service.

    상속
    object
    BaseHostingService
    HttpHostingService
    구현
    IHostingService
    상속된 멤버
    BaseHostingService.Logger
    BaseHostingService.DisambiguateProfileVar(string)
    BaseHostingService.DescriptiveName
    BaseHostingService.InstanceId
    BaseHostingService.EvaluateProfileString(string)
    BaseHostingService.LogFormat(LogType, string, object[])
    BaseHostingService.Log(string, params object[])
    BaseHostingService.LogWarning(string, params object[])
    BaseHostingService.LogError(string, params object[])
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: UnityEditor.AddressableAssets.HostingServices
    어셈블리: solution.dll
    구문
    public class HttpHostingService : BaseHostingService, IHostingService

    생성자

    이름 설명
    HttpHostingService()

    Create a new HttpHostingService

    프로퍼티

    이름 설명
    HostingServiceContentRoots

    List of content roots for hosting service.

    HostingServicePort

    The port number on which the service is listening

    IsHostingServiceRunning

    Gets the current running status of the hosting service.

    MyHttpListener

    The actual Http listener used by this service

    ProfileVariables

    Dictionary of profile variables defined by the hosting service.

    UploadSpeed

    The upload speed that files were be served at, in kbps

    메서드

    이름 설명
    ConfigureHttpListener()

    Handles any configuration necessary for MyHttpListener before listening for connections.

    ~HttpHostingService()

    Destroys a HttpHostingService

    FindFileInContentRoots(string)

    Searches for the given relative path within the configured content root directores.

    GetAvailablePort()

    Find an open network listen port on the local system

    HandleRequest(IAsyncResult)

    Asynchronous callback to handle a client connection request on MyHttpListener. This method is recursive in that it will call itself immediately after receiving a new incoming request to listen for the next connection.

    IsPortAvailable(int)

    Tests to see if the given port # is already in use

    OnAfterDeserialize(KeyDataStore)

    Called immediatley following a domain reload by the HostingServicesManager, for restoring state information after the service is recreated.

    OnBeforeSerialize(KeyDataStore)

    Called by the HostingServicesManager before a domain reload, giving the hosting service an opportunity to persist state information.

    OnGUI()

    Render the hosting service GUI.

    ResetListenPort(int)

    Listen on a new port the next time the server starts. If the server is already running, it will be stopped and restarted automatically.

    Return404(HttpListenerContext)

    Sets the status code to 404 on the given HttpListenerContext object.

    ReturnFile(HttpListenerContext, string, int)

    Sends a file to the connected HTTP client

    StartHostingService()

    Starts the hosting service.

    StopHostingService()

    Temporarily stops the service from receiving requests.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)