Title: Add support for `connection` · Issue #25 · purescript-node/purescript-node-http · GitHub
Open Graph Title: Add support for `connection` · Issue #25 · purescript-node/purescript-node-http
X Title: Add support for `connection` · Issue #25 · purescript-node/purescript-node-http
Description: The node.js http module has had support for request.connection for ages (since version 0.3.0), it's just been poorly documented. Up until the 8.x series it was tucked away in the comment of the 'connection' event. Since then, it's had it...
Open Graph Description: The node.js http module has had support for request.connection for ages (since version 0.3.0), it's just been poorly documented. Up until the 8.x series it was tucked away in the comment of the 'co...
X Description: The node.js http module has had support for request.connection for ages (since version 0.3.0), it's just been poorly documented. Up until the 8.x series it was tucked away in the comment of the...
Opengraph URL: https://github.com/purescript-node/purescript-node-http/issues/25
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for `connection`","articleBody":"The node.js `http` module has had support for `request.connection` for ages (since version 0.3.0), it's just been poorly documented. Up until the 8.x series it was tucked away in the comment of the [`'connection'` event][event]. Since then, it's had [its own documentation][connection]. I'd like to propose we add support for `connection`, but it will require some work for the [`Socket`][socket] it returns.\r\n\r\nMy guess (and what I mentioned on slack) is that we'll want a `purescript-node/purescript-node-net` package, where we have `Socket` and all its facilities defined. If that's the case, I'm more than happy to do the work if someone can make the repo. Then, we can expose `connection :: Node.HTTP.Request -> Node.Net.Socket`. Does that sound about right?\r\n\r\n[connection]: https://nodejs.org/docs/latest-v8.x/api/http.html#http_request_connection\r\n[event]: https://nodejs.org/docs/latest-v0.10.x/api/http.html#http_event_connection\r\n[socket]: https://nodejs.org/docs/latest-v8.x/api/net.html#net_class_net_socket","author":{"url":"https://github.com/joneshf","@type":"Person","name":"joneshf"},"datePublished":"2019-04-26T14:00:10Z","url":"https://github.com/purescript-node/purescript-node-http/issues/25"}
| 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:9e4b7a5f-77d9-e312-ae99-224e906bfdc1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF56:2D09DE:1F0592:2C504E:6AFC4B70 |
| html-safe-nonce | 8fb630eb0f3514dd40de60a143e8815849c61e8dcb966b068d613075b8755908 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjU2OjJEMDlERToxRjA1OTI6MkM1MDRFOjZBRkM0QjcwIiwidmlzaXRvcl9pZCI6IjkxNTQyODI1Mzc1OTYyNDI4MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 819ade6c9e0022d024c056b2af9ec27b1e89c367c8cbf9246533e14ce0e52aee |
| hovercard-subject-tag | issue:437687369 |
| 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/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f7f8ea9ae5e15dbc4e1b696fd483f1bd6b13d3db301976b2c5bbe79a9c79bb1e/purescript-node/purescript-node-http/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7f8ea9ae5e15dbc4e1b696fd483f1bd6b13d3db301976b2c5bbe79a9c79bb1e/purescript-node/purescript-node-http/issues/25 |
| og:image:alt | The node.js http module has had support for request.connection for ages (since version 0.3.0), it's just been poorly documented. Up until the 8.x series it was tucked away in the comment of the 'co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joneshf |
| 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