Download the PHP package ajayvohra2005/hack-http-client without Composer
On this page you can find all versions of the php package ajayvohra2005/hack-http-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ajayvohra2005/hack-http-client
More information about ajayvohra2005/hack-http-client
Files in ajayvohra2005/hack-http-client
Package hack-http-client
Short Description HTTP client implementation in Hack language
License MIT
Homepage https://github.com/ajayvohra2005/hack-http-client.git
Informations about the package hack-http-client
Hack HTTP client
Overview
This project implements an HTTP Client in Hack.
- Simple HTTP Client interface
- Synchronous and asynchronous requests
- Middleware support
Requirements
HHVM 4.132 and above.
Installation
- Git clone this repository
- Install composer
-
In the root directory of this repository, run the command
composer install
To use this package,
composer require ajayvohra2005/hack-http
Running Tests
Testing uses a mock HTTP server written in Node.js. The project was tested with Node.js version v17.0.1. After installation of Node.js and this project, run the following command in the root directory of this repository:
./vendor/bin/hacktest tests/
Quick Start Example
License
Hack Http package is made available under the MIT License (MIT). Please see License File for more information.
Acknowledgements
The Guzzle, PHP HTTP Client and PSR-7 Message Implementation projects inspired this code.
All versions of hack-http-client with dependencies
hhvm/hhvm-autoload Version ^3.3
ajayvohra2005/hack-promises Version ^1.0.0