DiscofyAPI/node_modules/helmet/dist/middlewares/x-dns-prefetch-control/index.d.ts

7 lines
312 B
TypeScript

import { IncomingMessage, ServerResponse } from "http"
export interface XDnsPrefetchControlOptions {
allow?: boolean
}
declare function xDnsPrefetchControl(options?: Readonly<XDnsPrefetchControlOptions>): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void
export default xDnsPrefetchControl