@platform/cell.client
Version:
A strongly typed HTTP client for operating with a CellOS service end-point.
21 lines (20 loc) • 614 B
TypeScript
import { t } from '../common';
declare type IClientCellFileArgs = {
parent: t.IHttpClientCell;
urls: t.IUrls;
http: t.IHttp;
};
export declare class HttpClientCellFile implements t.IHttpClientCellFile {
static create(args: IClientCellFileArgs): t.IHttpClientCellFile;
private constructor();
private readonly args;
name(path: string): {
info(): Promise<any>;
download(options?: {
expires?: string | undefined;
}): Promise<t.IHttpClientResponse<ReadableStream | string>>;
};
private getCellInfo;
private getCellLinkByFilename;
}
export {};