Http
Table of Contents
Interfaces
- Transport
- Performs GET requests. Implement it to use another HTTP stack (e.g. a PSR-18 client) or to fake the network in tests. Throw TransportException when no response arrives; return every HTTP status, including 4xx and 5xx, as a Response.
Classes
- CurlTransport
- The default transport, on ext-curl.
- Response
- TransportException
- Thrown by a Transport when no HTTP response arrived. The client retries, then throws NetworkException.