├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml.dist ├── src ├── ClientFactory.php ├── Exception │ ├── NetworkException.php │ └── RequestException.php ├── FallbackMiddleware.php ├── Middleware │ ├── Cookie │ │ ├── CookieRequest.php │ │ ├── CookieResponse.php │ │ ├── FileStorage.php │ │ └── Storage.php │ ├── Deflate.php │ └── UserAgent.php ├── MiddlewareClient.php ├── MiddlewareInterface.php ├── RequestConfig.php ├── RequestHandler.php ├── RequestHandlerInterface.php ├── Transport │ ├── CurlTransport.php │ ├── StreamTransport.php │ └── Transport.php └── functions.php └── tests ├── ClientFactoryTest.php ├── Middleware ├── DeflateTest.php └── UserAgentTest.php ├── MiddlewareClientTest.php ├── RequestConfigTest.php ├── Resource └── ClosureWrapMiddleware.php └── Transport ├── CurlTransportTest.php └── StreamTransportTest.php /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/ClientFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/ClientFactory.php -------------------------------------------------------------------------------- /src/Exception/NetworkException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Exception/NetworkException.php -------------------------------------------------------------------------------- /src/Exception/RequestException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Exception/RequestException.php -------------------------------------------------------------------------------- /src/FallbackMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/FallbackMiddleware.php -------------------------------------------------------------------------------- /src/Middleware/Cookie/CookieRequest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Middleware/Cookie/CookieRequest.php -------------------------------------------------------------------------------- /src/Middleware/Cookie/CookieResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Middleware/Cookie/CookieResponse.php -------------------------------------------------------------------------------- /src/Middleware/Cookie/FileStorage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Middleware/Cookie/FileStorage.php -------------------------------------------------------------------------------- /src/Middleware/Cookie/Storage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Middleware/Cookie/Storage.php -------------------------------------------------------------------------------- /src/Middleware/Deflate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Middleware/Deflate.php -------------------------------------------------------------------------------- /src/Middleware/UserAgent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Middleware/UserAgent.php -------------------------------------------------------------------------------- /src/MiddlewareClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/MiddlewareClient.php -------------------------------------------------------------------------------- /src/MiddlewareInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/MiddlewareInterface.php -------------------------------------------------------------------------------- /src/RequestConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/RequestConfig.php -------------------------------------------------------------------------------- /src/RequestHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/RequestHandler.php -------------------------------------------------------------------------------- /src/RequestHandlerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/RequestHandlerInterface.php -------------------------------------------------------------------------------- /src/Transport/CurlTransport.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Transport/CurlTransport.php -------------------------------------------------------------------------------- /src/Transport/StreamTransport.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Transport/StreamTransport.php -------------------------------------------------------------------------------- /src/Transport/Transport.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/Transport/Transport.php -------------------------------------------------------------------------------- /src/functions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/src/functions.php -------------------------------------------------------------------------------- /tests/ClientFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/ClientFactoryTest.php -------------------------------------------------------------------------------- /tests/Middleware/DeflateTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/Middleware/DeflateTest.php -------------------------------------------------------------------------------- /tests/Middleware/UserAgentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/Middleware/UserAgentTest.php -------------------------------------------------------------------------------- /tests/MiddlewareClientTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/MiddlewareClientTest.php -------------------------------------------------------------------------------- /tests/RequestConfigTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/RequestConfigTest.php -------------------------------------------------------------------------------- /tests/Resource/ClosureWrapMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/Resource/ClosureWrapMiddleware.php -------------------------------------------------------------------------------- /tests/Transport/CurlTransportTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/Transport/CurlTransportTest.php -------------------------------------------------------------------------------- /tests/Transport/StreamTransportTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zelenin/http-client/HEAD/tests/Transport/StreamTransportTest.php --------------------------------------------------------------------------------