Title: HTTP.createServer then close after one connection · Issue #46 · purescript-node/purescript-node-http · GitHub
Open Graph Title: HTTP.createServer then close after one connection · Issue #46 · purescript-node/purescript-node-http
X Title: HTTP.createServer then close after one connection · Issue #46 · purescript-node/purescript-node-http
Description: I want to close an HTTP server after one connection. It seems to be impossible? The variable server is not defined at close server. server <- createServer \request response -> do respond request response close server (pure unit) It looks...
Open Graph Description: I want to close an HTTP server after one connection. It seems to be impossible? The variable server is not defined at close server. server <- createServer \request response -> do respond request re...
X Description: I want to close an HTTP server after one connection. It seems to be impossible? The variable server is not defined at close server. server <- createServer \request response -> do respond requ...
Opengraph URL: https://github.com/purescript-node/purescript-node-http/issues/46
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HTTP.createServer then close after one connection","articleBody":"I want to `close` an `HTTP` server after one connection. It seems to be impossible? The variable `server` is not defined at `close server`.\r\n\r\n```\r\n server \u003c- createServer \\request response -> do\r\n respond request response\r\n close server (pure unit)\r\n```\r\n\r\nIt 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.","author":{"url":"https://github.com/jamesdbrock","@type":"Person","name":"jamesdbrock"},"datePublished":"2022-11-21T09:41:03Z","url":"https://github.com/purescript-node/purescript-node-http/issues/46"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6aaee7c3-6c06-cf78-05cd-ea6fbc74c961 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A39E:3FB28C:2054B1:2D3DC7:6AFC4B31 |
| html-safe-nonce | c3983ec7236f84164f0fcbd38cad6018609e8b1ba86475ff754291f9b9b01a5c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzlFOjNGQjI4QzoyMDU0QjE6MkQzREM3OjZBRkM0QjMxIiwidmlzaXRvcl9pZCI6IjU2ODg0MTI2NDg5MjQ1MzE1MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 979baf90bcdd03670f9c7053d23ccd8e7f9609ab82d3d2e1b9a05bdf7b64fb96 |
| hovercard-subject-tag | issue:1457621506 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript-node/purescript-node-http/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/66bb5955b0062af5d815468716d43cd485edb5aa62b7d54f2ff51c8d23d8e3c2/purescript-node/purescript-node-http/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/66bb5955b0062af5d815468716d43cd485edb5aa62b7d54f2ff51c8d23d8e3c2/purescript-node/purescript-node-http/issues/46 |
| og:image:alt | I want to close an HTTP server after one connection. It seems to be impossible? The variable server is not defined at close server. server <- createServer \request response -> do respond request re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jamesdbrock |
| hostname | github.com |
| expected-hostname | github.com |
| None | 20dfdada12bc00bbf8065dc10dfe3ff3711b85db5cc117f83296f8074e861960 |
| turbo-cache-control | no-preview |
| go-import | github.com/purescript-node/purescript-node-http git https://github.com/purescript-node/purescript-node-http.git |
| octolytics-dimension-user_id | 12017641 |
| octolytics-dimension-user_login | purescript-node |
| octolytics-dimension-repository_id | 43017993 |
| octolytics-dimension-repository_nwo | purescript-node/purescript-node-http |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43017993 |
| octolytics-dimension-repository_network_root_nwo | purescript-node/purescript-node-http |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 041909865f220ab51714e7efdc276dd349a99ade |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width