docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HandleRequest

    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.

    Declaration
    protected virtual void HandleRequest(IAsyncResult ar)
    Parameters
    Type Name Description
    IAsyncResult ar

    Asynchronous result from previous request. Pass null to listen for an initial request

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    thrown when the request result code is unknown

    In This Article
    Back to top
    Copyright © 2025 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)