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

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/psr-http-message@1.2.1

Copyright

Typescript:

  • 2021 Dominik Zogg

PHP:

  • 2014 PHP Framework Interoperability Group

About

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

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages