2020-09-21 08:14:06 +03:00
|
|
|
export declare type GetUrlResponse = {
|
|
|
|
statusCode: number;
|
|
|
|
statusMessage: string;
|
|
|
|
headers: {
|
|
|
|
[key: string]: string;
|
|
|
|
};
|
|
|
|
body: Uint8Array;
|
|
|
|
};
|
|
|
|
export declare type Options = {
|
|
|
|
method?: string;
|
|
|
|
body?: Uint8Array;
|
|
|
|
headers?: {
|
|
|
|
[key: string]: string;
|
|
|
|
};
|
2020-10-03 09:20:50 +03:00
|
|
|
user?: string;
|
|
|
|
password?: string;
|
2020-09-21 08:14:06 +03:00
|
|
|
};
|
|
|
|
export declare function getUrl(href: string, options?: Options): Promise<GetUrlResponse>;
|