From 7aabce05e98824dd39f4974f8e0fc5d369fbe1d0 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 13 Sep 2019 11:43:57 +0100 Subject: [PATCH] Live blogging from SymfonyLive London 2019 --- .../2019-09-13-live-blogging-symfonylive-london.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/_posts/2019-09-13-live-blogging-symfonylive-london.md b/source/_posts/2019-09-13-live-blogging-symfonylive-london.md index 4f4fae07..23dc9515 100644 --- a/source/_posts/2019-09-13-live-blogging-symfonylive-london.md +++ b/source/_posts/2019-09-13-live-blogging-symfonylive-london.md @@ -245,3 +245,16 @@ foreach ($client->stream($responses) as $response => $chunk) { * `Stream` has second argument, max number of seconds to wait before yielding a timeout chunk * `ResponseInterface::getInfo()` - get response headers, redirect count and URL, start time, HTTP method and code, user data and URL * `getInfo('debug')` - displays debug information + +### The components + +* `NativeHttpClient` and `CurlHttpCleint` + - both provide 100% contracts + - secure directs + - extended (time) info + - transparent HTTP compression and (de)chunking + - automatic HTTP proxy configuration via env vars +* NativeHttpClient is most portable, works for everyone + - based on HTTP stream wrapper with fixed redirect logic + - blocking until response headers arrive + -