Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Latest commit

 

History

History
35 lines (22 loc) · 783 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 783 Bytes

psr-http-message

Description

Common Http-message Interface (PHP FIG PSR-7).

This are the differences to the PHP version:

  • ServerRequestInterface does not contain getServerParams and withUploadedFiles / getUploadedFiles
  • StreamInterface is missing, duplex streams are used for getBody on MessageInterface.
  • UploadedFileInterface is missing

Requirements

  • node: 12

Installation

Through NPM as @chubbyjs/psr-http-message.

npm i @chubbyjs/[email protected]

Copyright

Typescript:

  • 2021 Dominik Zogg

PHP:

  • 2014 PHP Framework Interoperability Group