HttpClient
Table of Contents
Namespaces
Classes
- AmpHttpClient
- A portable implementation of the HttpClientInterface contracts based on Amp's HTTP client.
- CachingHttpClient
- Adds caching on top of an HTTP client.
- CurlHttpClient
- A performant implementation of the HttpClientInterface contracts based on the curl extension.
- EventSourceHttpClient
- HttpClient
- A factory to instantiate the best possible HTTP client for the runtime.
- HttplugClient
- An adapter to turn a Symfony HttpClientInterface into an Httplug client.
- HttpOptions
- A helper providing autocompletion for available options.
- MockHttpClient
- A test-friendly HttpClient that doesn't make actual HTTP requests.
- NativeHttpClient
- A portable implementation of the HttpClientInterface contracts based on PHP stream wrappers.
- NoPrivateNetworkHttpClient
- Decorator that blocks requests to private networks by default.
- Psr18Client
- An adapter to turn a Symfony HttpClientInterface into a PSR-18 ClientInterface.
- RetryableHttpClient
- Automatically retries failing HTTP requests.
- ScopingHttpClient
- Auto-configure the default options based on the requested URL.
- TraceableHttpClient
Traits
- AsyncDecoratorTrait
- Eases with processing responses while streaming them.
- DecoratorTrait
- Eases with writing decorators.
- HttpClientTrait
- Provides the common logic from writing HttpClientInterface implementations.