Provides powerful methods to fetch HTTP resources synchronously
Provides powerful methods to fetch HTTP resources synchronously or asynchronously. The HttpClient component is a low-level HTTP client with support for both PHPstream wrappers and cURL. It provides utilities to consume APIs and supports synchronous and asynchronous operations. The HTTP client contains many options you might need to take full control of the way the request is performed, including DNS pre-resolution, SSL parameters, public key pinning, etc. They can be defined globally in the configuration (to apply it to all requests) and to each request (which overrides any global configuration). ...