UNPKG

@ghini/kit

Version:

js practical tools to assist efficient development

16 lines (15 loc) 596 B
export type ServerExtension = { ip: string; open: number; routes: any[]; addr: Function; static: Function; _404: Function; apidev: Function; router_begin: Function; cnn: number; }; export function h2s(...argv: any[]): Promise<http.Server<typeof http.IncomingMessage, typeof http.ServerResponse> & ServerExtension>; export function hs(...argv: any[]): Promise<import("http").Server & ServerExtension>; export function hss(...argv: any[]): Promise<http.Server<typeof http.IncomingMessage, typeof http.ServerResponse> & ServerExtension>; import http from "http";