TransmissionRpcClient constructor
TransmissionRpcClient({})
Implementation
factory TransmissionRpcClient({
HttpProtocol protocol = HttpProtocol.http,
String? username,
String? password,
String host = "127.0.0.1",
int port = 9091,
String path = "/transmission/rpc",
int maxRetryCount = 10,
int timeout = 10000,
Logger? log,
}) =>
_TransmissionRpcClient(
url: Uri(scheme: protocol.name, host: host, port: port, path: path),
username: username,
password: password,
httpClient: HttpClient(),
maxRetryCount: maxRetryCount,
timeout: timeout,
log: log,
);