We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to close an HTTP server after one connection. It seems to be impossible? The variable server is not defined at close server.
close
HTTP
server
close server
server <- createServer \request response -> do respond request response close server (pure unit)
It looks like this is impossible because the Node.js API is bad. createServer is just a wrapper for the Node.js http.createServer function. But still.
createServer
http.createServer
The text was updated successfully, but these errors were encountered:
Ok I see, we're missing the onRequest event. That's what we need.
onRequest
Sorry, something went wrong.
Fixed by #49.
Successfully merging a pull request may close this issue.
I want to
close
anHTTP
server after one connection. It seems to be impossible? The variableserver
is not defined atclose server
.It looks like this is impossible because the Node.js API is bad.
createServer
is just a wrapper for the Node.jshttp.createServer
function. But still.The text was updated successfully, but these errors were encountered: