Represents a middleware function for handling HTTP requests in a Node.js environment.
API
type NodeRequestHandlerFunction = (req: IncomingMessage, res: ServerResponse, next: (err?: unknown) => void) => Promise<void> | void
Jump to details
Represents a middleware function for handling HTTP requests in a Node.js environment.
type NodeRequestHandlerFunction = (req: IncomingMessage, res: ServerResponse, next: (err?: unknown) => void) => Promise<void> | void