Skip to main content
RequestListener - http - Node documentation
type alias RequestListener

Usage in Deno

import { type RequestListener } from "node:http";

Type Parameters

Response extends ServerResponse = ServerResponse

Definition

(
req: InstanceType<Request>,
res: InstanceType<Response> & { req: InstanceType<Request>; },
) => void
Back to top