UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

4 lines (3 loc) 196 B
/// <reference types="node" /> import { IncomingMessage, ServerResponse } from 'http'; export declare function serveStatic(req: IncomingMessage, res: ServerResponse, path: string): Promise<void>;