https://github.com/hhvm/hack-http-request-response-interfaces
Defines common cross-framework interfaces to represent HTTP requests and responses
https://github.com/hhvm/hack-http-request-response-interfaces
Last synced: 5 months ago
JSON representation
Defines common cross-framework interfaces to represent HTTP requests and responses
- Host: GitHub
- URL: https://github.com/hhvm/hack-http-request-response-interfaces
- Owner: hhvm
- License: mit
- Created: 2018-02-02T16:28:39.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T00:22:22.000Z (almost 4 years ago)
- Last Synced: 2025-10-21T17:36:29.508Z (8 months ago)
- Language: Hack
- Homepage:
- Size: 222 KB
- Stars: 11
- Watchers: 20
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Hack HTTP Request and Response Interfaces
=========================================
This project aims to create standard request and response interfaces for Hack,
using [PSR-7](http://www.php-fig.org/psr/psr-7/) as a starting point.
This project is nearing a stable v1.0 release.
## Motivation
PSR-7 was designed for PHP, not Hack, and some descisions do not fit smoothly
with Hack's type system.
We would like agreement on a standardized interface before releasing v1.0 of
several libraries that could and should use this.
Additionally, with the planned end of PHP support in HHVM, it will stop being
possible to use the canonical definitions or common implementations of PSR-7 in
Hack code.
## Requirements
HHVM 4.41 and above.
## License
By contributing to Hack HTTP Request and Response Interfaces, you agree that your contributions will be licensed
under the LICENSE file in the root directory of this source tree.