Optional customOptions for customizing the services used by the TransmissionClient. This is useful for testing as it allows you to mock the services.
Optional sessionThe session service which is used to obtain a session ID from the Transmission RPC endpoint
new SessionService()
Optional hostnameThe hostname to use for all requests
'localhost'
Optional invalidThe configuration options for retrying a request if the session ID is invalid. By default, the request will be retried 3 times with a delay of 1 second before throwing an error.
Optional passwordThe password to use for all requests
'transmission'
Optional pathnameThe pathname to use for all requests
'/transmission/rpc'
Optional portThe port to use for all requests
9091
Optional protocolThe protocol to use for all requests
'http'
Optional usernameThe username to use for all requests
'transmission'
Generated using TypeDoc
The configuration options for the RequestService