UNPKG

@adonisjs/http-server

Version:

AdonisJS HTTP server with support packed with Routing and Cookies

9 lines (8 loc) 280 B
import { IncomingMessage, Server, ServerResponse } from 'node:http'; export declare const httpServer: { create(handler: (req: IncomingMessage, res: ServerResponse) => any | Promise<any>): Promise<{ server: Server; url: string; port: number; }>; };