How to handle non-TLS (plain HTTP) connections.
- denyInsecure (message : String) : OnInsecure
- allowInsecure : OnInsecure
Instances For
Equations
- Network.Wai.Handler.WarpTLS.instBEqOnInsecure.beq (Network.Wai.Handler.WarpTLS.OnInsecure.denyInsecure a) (Network.Wai.Handler.WarpTLS.OnInsecure.denyInsecure b) = (a == b)
- Network.Wai.Handler.WarpTLS.instBEqOnInsecure.beq Network.Wai.Handler.WarpTLS.OnInsecure.allowInsecure Network.Wai.Handler.WarpTLS.OnInsecure.allowInsecure = true
- Network.Wai.Handler.WarpTLS.instBEqOnInsecure.beq x✝¹ x✝ = false
Instances For
@[implicit_reducible]
@[implicit_reducible]
Equations
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
TLS-specific settings for warp-tls.
- certSettings : CertSettings
- onInsecure : OnInsecure
- alpn : Bool
Instances For
def
Network.Wai.Handler.WarpTLS.runTLS
(tlsSettings : TLSSettings)
(settings : Warp.Settings)
(app : Application)
:
Run a WAI application with TLS on the given port.
Equations
- One or more equations did not get rendered due to their size.