@point-hub/papi
Version:
Point API Framework
14 lines • 439 B
TypeScript
import { Express } from 'express';
import { Server as HttpServer } from 'http';
export declare class Server {
app: Express;
server: HttpServer | null;
constructor(app: Express);
listen(port: number, hostname?: string): Promise<unknown>;
start(port: number, hostname?: string): Promise<void>;
stop(): void;
get host(): string;
get port(): number;
get url(): string;
}
//# sourceMappingURL=server.d.ts.map