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)
88
88
import Node.HTTP (Request , Response , Server , HTTP )
89
89
import Unsafe.Coerce (unsafeCoerce )
90
90
91
- -- | The type of HTTPS server options
92
- data SSLOptions
93
-
94
91
-- | Create an HTTPS server, given the SSL options and a function to be executed
95
92
-- | when a request is received.
96
93
foreign import createServerImpl ::
@@ -107,6 +104,9 @@ createServer :: forall eff.
107
104
Eff (http :: HTTP | eff ) Server
108
105
createServer = createServerImpl <<< options
109
106
107
+ -- | The type of HTTPS server options
108
+ data SSLOptions
109
+
110
110
-- | See the [node docs](https://nodejs.org/api/tls.html#tls_tls_createserver_options_secureconnectionlistener)
111
111
handshakeTimeout :: Option SSLOptions Int
112
112
handshakeTimeout = opt " handshakeTimeout"
You can’t perform that action at this time.
0 commit comments