PeclHttpToPsr7
Convert a pecl/Http native message to a PSR7 response Split off from the PeclHttp Client implementation
Table of Contents
- convertPeclHttpResponseToPsr7() : ResponseInterface
- Convert to PSR-7 format
Methods
convertPeclHttpResponseToPsr7()
Convert to PSR-7 format
private
convertPeclHttpResponseToPsr7(Response $httpResponse) : ResponseInterface
Parameters
- $httpResponse : Response
Return values
ResponseInterface —The PSR-7 equivalent