Table of Contents

Class GetTorrentInfoOptions

Namespace
TorBoxSDK.Models.Torrents
Assembly
TorBoxSDK.dll

Represents the query parameters for retrieving torrent metadata from a hash (GET endpoint).

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

Remarks

These options are sent as query string parameters, not as a JSON body.

Properties

Timeout

Gets the optional timeout in seconds for metadata retrieval, or null to use the server default.

[QueryParameterName("timeout")]
public int? Timeout { get; init; }

Property Value

int?

UseCacheLookup

Gets a value indicating whether to enable cache lookup for the torrent info, or null to use the default behavior.

[QueryParameterName("use_cache_lookup")]
public bool? UseCacheLookup { get; init; }

Property Value

bool?