Module

Node.HTTP.Secure

This module defines low-level bindings to the Node HTTPS module.

#createServer

createServer :: Options SSLOptions -> (Request -> Response -> Effect Unit) -> Effect Server

Create an HTTPS server, given the SSL options and a function to be executed when a request is received.

#SSLOptions

data SSLOptions

The type of HTTPS server options

#handshakeTimeout

#rejectUnauthorized

#NPNProtocols

data NPNProtocols

The npnProtocols option can be a String, a Buffer, a Uint8Array, or an array of any of those types.

#npnProtocolsString

#npnProtocolsBuffer

#npnProtocolsUint8Array

#npnProtocolsStringArray

#npnProtocolsBufferArray

#npnProtocolsUint8ArrayArray

#ALPNProtocols

data ALPNProtocols

The alpnProtocols option can be a String, a Buffer, a Uint8Array, or an array of any of those types.

#alpnProtocolsString

#alpnProtocolsBuffer

#alpnProtocolsUint8Array

#alpnProtocolsStringArray

#alpnProtocolsBufferArray

#alpnProtocolsUint8ArrayArray

#sessionTimeout

#PFX

data PFX

The PFX option can take either a String or a Buffer

#pfxString

#pfxBuffer

#Key

data Key

The key option can be a String, a Buffer, an array of strings, or an array of buffers.

#keyString

#keyBuffer

#keyStringArray

#keyBufferArray

#Cert

data Cert

The cert option can be a String, a Buffer, an array of strings, or an array of buffers.

#certString

#certBuffer

#certStringArray

#certBufferArray

#CA

data CA

The CA option can be a String, a Buffer, an array of strings, or an array of buffers.

#caString

#caBuffer

#caStringArray

#caBufferArray

#CRL

data CRL

The CRL option can be a String, a Buffer, an array of strings, or an array of buffers.

#crlString

#crlBuffer

#crlStringArray

#crlBufferArray

#DHParam

data DHParam

The DHParam option can take either a String or a Buffer

#dhparamString

#dhparamBuffer

#secureOptions

#sessionIdContext

Modules