Class BasicServer | Platforms | 0.2.2-preview.10
docs.unity.cn
    Show / Hide Table of Contents

    Class BasicServer

    Inheritance
    Object
    BasicServer
    Namespace: Unity.Platforms
    Syntax
    public abstract class BasicServer

    Constructors

    BasicServer(String)

    Declaration
    protected BasicServer(string name)
    Parameters
    Type Name Description
    String name

    Properties

    Listening

    Declaration
    public bool Listening { get; }
    Property Value
    Type Description
    Boolean

    LocalIP

    Declaration
    public static string LocalIP { get; }
    Property Value
    Type Description
    String

    Name

    Declaration
    protected string Name { get; set; }
    Property Value
    Type Description
    String

    Port

    Declaration
    public int Port { get; }
    Property Value
    Type Description
    Int32

    ShellArgs

    Declaration
    protected abstract string[] ShellArgs { get; }
    Property Value
    Type Description
    String[]

    URL

    Declaration
    public abstract Uri URL { get; }
    Property Value
    Type Description
    Uri

    Methods

    Close()

    Declaration
    public virtual void Close()

    Listen(Int32)

    Declaration
    public virtual bool Listen(int port)
    Parameters
    Type Name Description
    Int32 port
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX