Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

WarpTLS – HTTPS for Warp

Lean: Hale.WarpTLS | Haskell: warp-tls

HTTPS support for Warp using OpenSSL FFI. TLS 1.2+ enforced. ALPN negotiation for HTTP/2. Uses EventDispatcher and Green monad for non-blocking I/O.

Key Types

TypeDescription
OnInsecuredenyInsecure | allowInsecure – handling for non-TLS connections
CertSettingsCertificate source (certFile with paths)

Files

  • Hale/WarpTLS/Network/Wai/Handler/WarpTLS.lean – runTLS, TLS settings
  • Hale/WarpTLS/Network/Wai/Handler/WarpTLS/Internal.lean – Internal types