@3kles/3kles-corebe
Version:
3KLES Core BackEnd
20 lines (19 loc) • 399 B
TypeScript
interface IHttpOptions {
protocol?: string;
hostname: string;
port: number;
path: string;
method: string;
rejectUnauthorized: boolean;
headers: any;
data?: any;
signal?: AbortSignal;
}
interface IRequestParameter {
protocol?: string;
host: string;
port?: number;
user?: string;
password?: string;
}
export { IHttpOptions, IRequestParameter };