Skip to content

Class RuntimeServer

Namespace: Void.Proxy.Api.Servers
Assembly: Void.Proxy.Api.dll

public record RuntimeServer : IServer, IEquatable<RuntimeServer>

Inheritance

objectRuntimeServer

Implements

IServer, IEquatable<RuntimeServer>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

RuntimeServer(string, string, int, string?)

public RuntimeServer(string Name, string Host, int Port, string? Override = null)

Parameters

Name string

Host string

Port int

Override string?

Properties

Brand

Gets or sets the implementation brand of the server.

public string? Brand { get; set; }

Property Value

string?

Host

Gets the host address of the server.

public string Host { get; init; }

Property Value

string

Name

Gets the name of the server.

public string Name { get; init; }

Property Value

string

Override

Gets or sets the hostname override for the server.

public string? Override { get; init; }

Property Value

string?

Port

Gets the port used for connecting to the server.

public int Port { get; init; }

Property Value

int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.