HTTP Tortilla

By Tim Lytle

The PSR-7 interfaces for request and response messages are remarkably
valuable. They establish a well defined interface for working with HTTP
requests and responses. They introduce a reasonable amount of
immutability (streams be streams, after all). Together, both lead to
ease when testing and provide confidence and simplicity when integrating
with existing libraries that wrangle, manipulate, and extract
information from the HTTP life-cycle. by Tim Lytle

This article was originally published in the May 2023 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: