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