Callable Server( req: IncomingMessage , res: ServerResponse < IncomingMessage > , next?: Function ) : void Defined in node_modules/vite/dist/node/index.d.ts:294 Parameters req: IncomingMessage res: ServerResponse < IncomingMessage > Optional next: Function Returns void Properties route route: string
Defined in node_modules/vite/dist/node/index.d.ts:296 stack Defined in node_modules/vite/dist/node/index.d.ts:297 Methods handle handle( req: IncomingMessage , res: ServerResponse < IncomingMessage > , next: Function ) : void Defined in node_modules/vite/dist/node/index.d.ts:319 Parameters req: IncomingMessage res: ServerResponse < IncomingMessage > next: Function Returns void listen listen( port: number , hostname?: string , backlog?: number , callback?: Function ) : Server < typeof IncomingMessage , typeof ServerResponse > listen( port: number , hostname?: string , callback?: Function ) : Server < typeof IncomingMessage , typeof ServerResponse > listen( path: string , callback?: Function ) : Server < typeof IncomingMessage , typeof ServerResponse > listen( handle: any , listeningListener?: Function ) : Server < typeof IncomingMessage , typeof ServerResponse > Defined in node_modules/vite/dist/node/index.d.ts:347 Parameters port: number Optional hostname: string Optional backlog: number Optional callback: Function Returns Server < typeof IncomingMessage , typeof ServerResponse > Defined in node_modules/vite/dist/node/index.d.ts:353 Parameters port: number Optional hostname: string Optional callback: Function Returns Server < typeof IncomingMessage , typeof ServerResponse > Defined in node_modules/vite/dist/node/index.d.ts:354 Parameters path: string Optional callback: Function Returns Server < typeof IncomingMessage , typeof ServerResponse > Defined in node_modules/vite/dist/node/index.d.ts:355 Parameters handle: any Optional listeningListener: Function Returns Server < typeof IncomingMessage , typeof ServerResponse > use Defined in node_modules/vite/dist/node/index.d.ts:310 Parameters Defined in node_modules/vite/dist/node/index.d.ts:311 Parameters Defined in node_modules/vite/dist/node/index.d.ts:312 Parameters Defined in node_modules/vite/dist/node/index.d.ts:313 Parameters Legend Variable Function Function with type parameter Type alias Type alias with type parameter Interface Interface with type parameter Property Method Class Class with type parameter Settings Theme OS Light Dark
Handle server requests, punting them down the middleware stack.