RemoteOptions
Options for creating a remote client.
Options for creating a remote client.
Properties
Prop
Type
Methods
Prop
Type
Examples
const options = {
http: { timeout: 30000 },
onDownload: data => {
console.log(`Downloaded ${data.downloadedBytes}/${data.totalBytes}`);
},
};
const remote = new Remote('https://updates.example.com', options);