Class SpeedtestServer
Represents a speedtest server returned by the TorBox speedtest endpoint.
public sealed record SpeedtestServer : IEquatable<SpeedtestServer>
- Inheritance
-
SpeedtestServer
- Implements
- Inherited Members
Properties
Closest
Gets a value indicating whether this is the closest server to the requester.
[JsonPropertyName("closest")]
public bool Closest { get; init; }
Property Value
Coordinates
Gets the geographic coordinates of the server, or null if not available.
[JsonPropertyName("coordinates")]
public ServerCoordinates? Coordinates { get; init; }
Property Value
Domain
Gets the server's base domain URL, or null if not available.
[JsonPropertyName("domain")]
public string? Domain { get; init; }
Property Value
Name
Gets the server's name, or null if not available.
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
Path
Gets the path to the test file on the server, or null if not available.
[JsonPropertyName("path")]
public string? Path { get; init; }
Property Value
Region
Gets the server's region identifier, or null if not available.
[JsonPropertyName("region")]
public string? Region { get; init; }
Property Value
Url
Gets the full URL to the speedtest file, or null if not available.
[JsonPropertyName("url")]
public string? Url { get; init; }