Everything under Quiote\Http\Client.
| Class | Description |
|---|
CurlTransport | Zero-dependency PSR-18 transport built on ext-curl and the Nyholm PSR-17 factory (already a hard framework dependency). |
HttpClient | The framework HTTP client: a PSR-18 ClientInterface wrapping an underlying transport, adding base-URI resolution, default headers, a transient-failure retry policy, ergonomic verb helpers, and — the payoff for the whole abstraction — the central egress seam for telemetry. |
HttpClientConfig | Mutable, fluent configuration for a named HTTP client, populated inside a HttpClientFactory::configure() callback (the dotnet AddHttpClient("name", c => ...) analogue). |
HttpClientFactory | Registry + factory for named HTTP clients, modelled on .NET’s services.AddHttpClient("name", c => ...) / IHttpClientFactory: you register a named client’s configuration once, then resolve it by name, and the same HttpClient instance is reused for that name for the lifetime of the process (a FrankenPHP worker keeps one per name) rather than being rebuilt on every call. |
TransportFactory | Chooses the default underlying PSR-18 transport: Guzzle if it is installed (its GuzzleHttp\Client already implements PSR-18 ClientInterface, so it is used directly — no adapter needed), otherwise the zero-dependency CurlTransport. |