17 lines
402 B
TypeScript
17 lines
402 B
TypeScript
type Param = {
|
|
scheme?: string;
|
|
url?: string;
|
|
method?: string;
|
|
hostname?: string;
|
|
host?: string;
|
|
path?: string;
|
|
port?: number | string;
|
|
headers?: object;
|
|
body?: object;
|
|
};
|
|
/**
|
|
* # Make Https Request
|
|
*/
|
|
export default function httpsRequest<Res extends any = any>({ url, method, hostname, host, path, headers, body, port, scheme, }: Param): Promise<Res>;
|
|
export {};
|