mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-10 21:32:35 +01:00
9 lines
391 B
TypeScript
9 lines
391 B
TypeScript
import { IncomingMessage, ServerResponse } from "http";
|
|
export interface StrictTransportSecurityOptions {
|
|
maxAge?: number;
|
|
includeSubDomains?: boolean;
|
|
preload?: boolean;
|
|
}
|
|
declare function strictTransportSecurity(options?: Readonly<StrictTransportSecurityOptions>): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
|
|
export default strictTransportSecurity;
|