Class TorBoxResponse
Represents a standard TorBox API response without a typed data payload.
public sealed record TorBoxResponse : IEquatable<TorBoxResponse>
- Inheritance
-
TorBoxResponse
- Implements
- Inherited Members
Remarks
All TorBox API responses share a common envelope with Success,
Error, and Detail fields. Use TorBoxResponse<T>
when the response includes a typed data payload.
Properties
Detail
Gets additional detail about the response or error, or null if none was provided.
[JsonPropertyName("detail")]
public string? Detail { get; init; }
Property Value
Error
Gets the error message returned by the API, or null if no error occurred.
[JsonPropertyName("error")]
public string? Error { get; init; }
Property Value
Success
Gets a value indicating whether the API request was successful.
[JsonPropertyName("success")]
public bool Success { get; init; }