Aria2.JsonRpcClient

Aria2.JsonRpcClient Documentation - Home | Client | Requests | Models | Examples

AddMetalink

Overview

Represents a request to add a Metalink download.


Constructors

Adds new downloads from a Metalink file (base64 encoded).options is a struct with option name/value pairs. If position is provided, the downloads are inserted at that position; otherwise, appended. Returns the GID of the newly registered download.

https://aria2.github.io/manual/en/html/aria2c.html#aria2.addMetalink

Parameters:

Returns:

The GID of the newly registered download.

Throws:

Aria2Exception Thrown when an aria2 error occurs.


Top
© lantean-code - Generated on 2025-04-02