Documentation Packages Getting Started FAQ Support

Http ⋅ Introduction

This package provides basic primitives needed for HTTP clients and servers.

Status Codes

HTTP status codes are made human readable via Amp\Http\Status. It includes a constant for each IANA registered status code. Additionally, a default reason is available via Http::getReason($code).