Table of Contents

Class SpeedtestOptions

Namespace
TorBoxSDK.Models.General
Assembly
TorBoxSDK.dll

Represents optional parameters for the speedtest files endpoint.

public sealed record SpeedtestOptions : IEquatable<SpeedtestOptions>
Inheritance
SpeedtestOptions
Implements
Inherited Members

Properties

Region

Gets the region for the speedtest, or null to auto-detect.

[QueryParameterName("region")]
public string? Region { get; init; }

Property Value

string

TestLength

Gets the test length value (e.g. "short", "long"), or null to use the default.

[QueryParameterName("test_length")]
public string? TestLength { get; init; }

Property Value

string

UserIp

Gets the user's IP address for the speedtest, or null to use the caller's IP.

[QueryParameterName("user_ip")]
public string? UserIp { get; init; }

Property Value

string