This package has been deprecated

Author message:

use @chubbyts/chubbyts-http-types instead

@chubbyjs/psr-http-message

1.2.1 • Public • Published

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

Package Sidebar

Install

npm i @chubbyjs/psr-http-message

Weekly Downloads

16

Version

1.2.1

License

MIT

Unpacked Size

6.49 kB

Total Files

13

Last publish

Collaborators

  • dominikzogg