File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,9 +88,6 @@ import Node.Buffer (Buffer)
8888import Node.HTTP (Request , Response , Server , HTTP )
8989import 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.
9693foreign import createServerImpl ::
@@ -107,6 +104,9 @@ createServer :: forall eff.
107104 Eff (http :: HTTP | eff ) Server
108105createServer = 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)
111111handshakeTimeout :: Option SSLOptions Int
112112handshakeTimeout = opt " handshakeTimeout"
You can’t perform that action at this time.
0 commit comments