Module

Bucketchain.Secure.HSTS

Package
purescript-bucketchain-secure
Repository
Bucketchain/purescript-bucketchain-secure

#Options Source

type Options = { includeSubDomains :: Boolean, maxAge :: Seconds, preload :: Boolean }

A type of Strict-Transport-Security options.

#withHSTS Source

withHSTS :: Options -> Middleware

Set Strict-Transport-Security options.