Options
All
  • Public
  • Public/Protected
  • All
Menu
// Example - Download By HttpSource
const hs = new HttpSource({
 host: "localhost",
 path: "/",
 port: "8099",
});
const writer = new FileSource().createWritableStream({path: "/home/work/a.log"});
hs.createReadableStream().pipe(writer);

Hierarchy

Index

Constructors

constructor

Methods

createReadableStream

createWritableStream