npm.io
1.2.1 • Published 5 years ago

@chubbyjs/psr-http-message

Licence
MIT
Version
1.2.1
Deps
1
Size
6 kB
Vulns
0
Weekly
0
Stars
3
DeprecatedThis package is deprecated

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

Typescript:

  • 2021 Dominik Zogg

PHP:

  • 2014 PHP Framework Interoperability Group

Keywords