We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 868e668 commit f59e5feCopy full SHA for f59e5fe
src/Node/HTTP/Secure.purs
@@ -88,9 +88,6 @@ import Node.Buffer (Buffer)
88
import Node.HTTP (Request, Response, Server, HTTP)
89
import Unsafe.Coerce (unsafeCoerce)
90
91
--- | The type of HTTPS server options
92
-data SSLOptions
93
-
94
-- | Create an HTTPS server, given the SSL options and a function to be executed
95
-- | when a request is received.
96
foreign import createServerImpl ::
@@ -107,6 +104,9 @@ createServer :: forall eff.
107
104
Eff (http :: HTTP | eff) Server
108
105
createServer = createServerImpl <<< options
109
106
+-- | The type of HTTPS server options
+data SSLOptions
+
110
-- | See the [node docs](https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener)
111
handshakeTimeout :: Option SSLOptions Int
112
handshakeTimeout = opt "handshakeTimeout"
0 commit comments