UNPKG

@platform/cell.client

Version:

A strongly typed HTTP client for operating with a CellOS service end-point.

16 lines (15 loc) 503 B
import { t } from '../common'; export declare type IClientFileArgs = { uri: string; urls: t.IUrls; http: t.IHttp; }; export declare class HttpClientFile implements t.IHttpClientFile { static create(args: IClientFileArgs): t.IHttpClientFile; private constructor(); private readonly args; readonly uri: t.IUriParts<t.IFileUri>; readonly url: t.IUrlsFile; toString(): string; info(): Promise<t.IHttpClientResponse<t.IUriResponse<t.IFileData, t.IResGetFileUrls>>>; }