-
getStream(item,
opts?): Promise<{
stream: Readable;
type: "buffer";
} | {
stream: Readable;
type: "readable";
} | {
stream: Readable;
type: "remote";
} | {
stream: ReadStream;
type: "file";
}>
-
Parameters
-
-
Optional
opts:
AxiosRequestConfig<any>
Returns Promise<{
stream: Readable;
type: "buffer";
} | {
stream: Readable;
type: "readable";
} | {
stream: Readable;
type: "remote";
} | {
stream: ReadStream;
type: "file";
}>