TRequestListener
Bun

type

http.RequestListener

type RequestListener<Request extends typeof IncomingMessage = typeof IncomingMessage, Response extends typeof ServerResponse = typeof ServerResponse> = (req: InstanceType<Request>, res: InstanceType<Response> & { req: InstanceType<Request> }) => void