# @chubbyjs/psr-http-message

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

Latest version **1.2.1** (published 2021-09-04) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @chubbyjs/psr-http-message
pnpm add @chubbyjs/psr-http-message
yarn add @chubbyjs/psr-http-message
bun add @chubbyjs/psr-http-message
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2021-09-04 |
| First published | 2021-08-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12 |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Dominik Zogg |
| Maintainers | dominikzogg |
| Keywords | psr, psr-7, http-message-interface |

## Links

- npm: https://www.npmjs.com/package/@chubbyjs/psr-http-message
- Repository: https://github.com/chubbyjs/psr-http-message
- Homepage: https://github.com/chubbyjs/psr-http-message#readme
- Issues: https://github.com/chubbyjs/psr-http-message/issues
- npm.io page: https://npm.io/package/@chubbyjs/psr-http-message

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) ^12

## Recent versions

- 1.2.1 (latest) — 2021-09-04
- 1.2.0 — 2021-09-04
- 1.1.2 — 2021-09-01
- 1.1.1 — 2021-09-01
- 1.1.0 — 2021-09-01
- 1.0.3 — 2021-08-30
- 1.0.2 — 2021-08-28
- 1.0.1 — 2021-08-28
- 1.0.0 — 2021-08-22

## README

# psr-http-message

## Description

Common Http-message Interface ([PHP FIG][2] [PSR-7][3]).

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](https://www.npmjs.com) as [@chubbyjs/psr-http-message][1].

```sh
npm i @chubbyjs/psr-http-message@1.2.1
```

## Copyright

Typescript:
 * 2021 Dominik Zogg

PHP:
 * 2014 PHP Framework Interoperability Group

[1]: https://www.npmjs.com/package/@chubbyjs/psr-http-message

[2]: https://www.php-fig.org/
[3]: https://www.php-fig.org/psr/psr-7/

---
_Source: https://npm.io/package/@chubbyjs/psr-http-message · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
