Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Session.TransportSecurity
Documentation
data TransportSecurity Source #
Constructors
RequireSecureTransport | Only allow cookies on HTTPS connections Set this in production. |
AllowPlaintextTranport | Allow cookies over either HTTP or HTTPS This is okay for development. |
cookieSecure :: TransportSecurity -> Bool Source #