Node.HTTP.Secure
- Package
- purescript-node-http
- Repository
- purescript-node/purescript-node-http
This module defines low-level bindings to the Node HTTPS module.
#SSLOptions Source
data SSLOptions
The type of HTTPS server options
#handshakeTimeout Source
handshakeTimeout :: Option SSLOptions Int
See the node docs
#requestCert Source
requestCert :: Option SSLOptions Boolean
See the node docs
#rejectUnauthorized Source
rejectUnauthorized :: Option SSLOptions Boolean
See the node docs
#NPNProtocols Source
data NPNProtocols
The npnProtocols option can be a String, a Buffer, a Uint8Array, or an array of any of those types.
#npnProtocols Source
npnProtocols :: Option SSLOptions NPNProtocols
See the node docs
#ALPNProtocols Source
data ALPNProtocols
The alpnProtocols option can be a String, a Buffer, a Uint8Array, or an array of any of those types.
#alpnProtocols Source
alpnProtocols :: Option SSLOptions ALPNProtocols
See the node docs
#sessionTimeout Source
sessionTimeout :: Option SSLOptions Int
See the node docs
#ticketKeys Source
ticketKeys :: Option SSLOptions Buffer
See the node docs
#Key Source
data Key
The key option can be a String, a Buffer, an array of strings, or an array of buffers.
#passphrase Source
passphrase :: Option SSLOptions String
See the node docs
#Cert Source
data Cert
The cert option can be a String, a Buffer, an array of strings, or an array of buffers.
#certString Source
certString :: String -> Cert
#certBuffer Source
certBuffer :: Buffer -> Cert
#CA Source
data CA
The CA option can be a String, a Buffer, an array of strings, or an array of buffers.
#CRL Source
data CRL
The CRL option can be a String, a Buffer, an array of strings, or an array of buffers.
#honorCipherOrder Source
honorCipherOrder :: Option SSLOptions Boolean
See the node docs
#dhparamString Source
dhparamString :: String -> DHParam
#dhparamBuffer Source
dhparamBuffer :: Buffer -> DHParam
#secureProtocol Source
secureProtocol :: Option SSLOptions String
See the node docs
#secureOptions Source
secureOptions :: Option SSLOptions Int
See the node docs
#sessionIdContext Source
sessionIdContext :: Option SSLOptions String
See the node docs