Skip to content

Commit f59e5fe

Browse files
author
Connor Prussin
committed
Even higher
1 parent 868e668 commit f59e5fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Node/HTTP/Secure.purs

+3-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ import Node.Buffer (Buffer)
8888
import Node.HTTP (Request, Response, Server, HTTP)
8989
import Unsafe.Coerce (unsafeCoerce)
9090

91-
-- | The type of HTTPS server options
92-
data SSLOptions
93-
9491
-- | Create an HTTPS server, given the SSL options and a function to be executed
9592
-- | when a request is received.
9693
foreign import createServerImpl ::
@@ -107,6 +104,9 @@ createServer :: forall eff.
107104
Eff (http :: HTTP | eff) Server
108105
createServer = createServerImpl <<< options
109106

107+
-- | The type of HTTPS server options
108+
data SSLOptions
109+
110110
-- | See the [node docs](https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener)
111111
handshakeTimeout :: Option SSLOptions Int
112112
handshakeTimeout = opt "handshakeTimeout"

0 commit comments

Comments
 (0)