Title: [HttpClient] Response getBody method return null. · Issue #207 · reactphp/reactphp · GitHub
Open Graph Title: [HttpClient] Response getBody method return null. · Issue #207 · reactphp/reactphp
X Title: [HttpClient] Response getBody method return null. · Issue #207 · reactphp/reactphp
Description: On response end getBody return null. Example: $factory = new Factory(); $client = $factory->create($loop, $dnsResolver); $urls = array( 'https://github.com', 'https://vk.com', 'http://elfet.ru', 'http://google.com', ); $load = function (...
Open Graph Description: On response end getBody return null. Example: $factory = new Factory(); $client = $factory->create($loop, $dnsResolver); $urls = array( 'https://github.com', 'https://vk.com', 'http://elfet.ru', 'h...
X Description: On response end getBody return null. Example: $factory = new Factory(); $client = $factory->create($loop, $dnsResolver); $urls = array( 'https://github.com', 'https://vk.com', ...
Opengraph URL: https://github.com/reactphp/reactphp/issues/207
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[HttpClient] Response getBody method return null.","articleBody":"On response end getBody return null.\nExample:\n\n``` php\n$factory = new Factory();\n$client = $factory->create($loop, $dnsResolver);\n\n$urls = array(\n 'https://github.com',\n 'https://vk.com',\n 'http://elfet.ru',\n 'http://google.com',\n);\n\n$load = function ($url) use ($client) {\n $request = $client->request('GET', $url);\n $request->on('response', function ($response) use ($url) {\n $response->on('end', function ($error, $response) use ($url) {\n // Every time $response->getBody() === null\n });\n });\n $request->end();\n};\n\n$loop->addPeriodicTimer(1, function ($timer) use (&$urls, $load) {\n if ($url = array_pop($urls)) {\n $load($url);\n }\n});\n$loop->run();\n```\n","author":{"url":"https://github.com/antonmedv","@type":"Person","name":"antonmedv"},"datePublished":"2013-07-03T11:33:46Z","url":"https://github.com/reactphp/reactphp/issues/207"}
| 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:58d43aed-e380-8dff-8dd0-512ee123effc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C644:3B5B2:91A17:C3AEC:6B00B931 |
| html-safe-nonce | 1cf841f123cd59f637418988e02ebfe2bf1797a7e074528a505d736b1b09dad6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjQ0OjNCNUIyOjkxQTE3OkMzQUVDOjZCMDBCOTMxIiwidmlzaXRvcl9pZCI6IjY4OTI2NDQ1NjAxNTM5MTc3NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5318863dfcd01faf327013dc81e17504db075dca1c15fb7b63fd92309b71dd28 |
| hovercard-subject-tag | issue:16313245 |
| 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/reactphp/reactphp/207/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b4e8f21fdb0009394828749a41817198d59d703d23e23f2e212294c37af805d8/reactphp/reactphp/issues/207 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b4e8f21fdb0009394828749a41817198d59d703d23e23f2e212294c37af805d8/reactphp/reactphp/issues/207 |
| og:image:alt | On response end getBody return null. Example: $factory = new Factory(); $client = $factory->create($loop, $dnsResolver); $urls = array( 'https://github.com', 'https://vk.com', 'http://elfet.ru', 'h... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | antonmedv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/reactphp/reactphp git https://github.com/reactphp/reactphp.git |
| octolytics-dimension-user_id | 1696866 |
| octolytics-dimension-user_login | reactphp |
| octolytics-dimension-repository_id | 4287921 |
| octolytics-dimension-repository_nwo | reactphp/reactphp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4287921 |
| octolytics-dimension-repository_network_root_nwo | reactphp/reactphp |
| 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 | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width