Optional
customOptions for customizing the services used by the TransmissionClient. This is useful for testing as it allows you to mock the services.
Optional
requestThe request service which is used to make requests to the Transmission RPC endpoint
new RequestService()
Optional
sessionThe session service which is used to obtain a session ID from the Transmission RPC endpoint
new SessionService()
Optional
hostname?: stringThe hostname to use for all requests
'localhost'
Optional
password?: stringThe password to use for all requests
'transmission'
Optional
pathname?: stringThe pathname to use for all requests
'/transmission/rpc'
Optional
port?: numberThe port to use for all requests
9091
Optional
protocol?: "http" | "https"The protocol to use for all requests
'http'
Optional
username?: stringThe username to use for all requests
'transmission'
Generated using TypeDoc
The configuration options for the TransmissionClient