v0.7.7
<p>Outbound Http requests start at once and run concurrently, and their responses are read lazily.</p>
17 October 2026
Changed
Http::get(),post(),put(),patch(),delete()andpurge()start the request immediately and return anHttpResponse. Readingstatus,headersorbodywaits for the transfer. Requests started before the first read run together over onecurl_multihandle.HttpResponse::$status,$headersand$bodyare property hooks, and a failure surfaces from the first read.
Added
HttpError, thrown for a request that failed in transit.HttpResponse::throw()returns the response for a 2xx status and throws anHttpErrornaming the status and host otherwise. The message never carries the URL, which can hold a key.
Comments
No comments yet. Be the first!
Loading form…