Table of Contents

Struct GEarthConnectOptions

Namespace
Xabbo.GEarth
Assembly
Xabbo.GEarth.dll

Specifies the options used to connect to G-Earth.

public readonly record struct GEarthConnectOptions : IEquatable<GEarthConnectOptions>
Implements
Inherited Members

Constructors

GEarthConnectOptions(string?, int?, string?, string?)

Specifies the options used to connect to G-Earth.

public GEarthConnectOptions(string? Host = null, int? Port = null, string? FileName = null, string? Cookie = null)

Parameters

Host string

The host to connect to.

Port int?

The extension port to connect on.

FileName string

The filename of the extension.

Cookie string

The cookie value provided by and used to authenticate with G-Earth.

Properties

The cookie value provided by and used to authenticate with G-Earth.

public string? Cookie { get; init; }

Property Value

string

FileName

The filename of the extension.

public string? FileName { get; init; }

Property Value

string

Host

The host to connect to.

public string? Host { get; init; }

Property Value

string

Port

The extension port to connect on.

public int? Port { get; init; }

Property Value

int?

Methods

WithArgs(ReadOnlySpan<string>, bool)

public GEarthConnectOptions WithArgs(ReadOnlySpan<string> args, bool @override = false)

Parameters

args ReadOnlySpan<string>
override bool

Returns

GEarthConnectOptions