An open API service indexing awesome lists of open source software.

https://github.com/inanepain/http

Http client, request and response objects implementing psr-7 (message interfaces).
https://github.com/inanepain/http

Last synced: 3 months ago
JSON representation

Http client, request and response objects implementing psr-7 (message interfaces).

Awesome Lists containing this project

README

        

# Readme: Http

> $Id$ ($Date$)

Http client, request and response objects implementing psr-7 (message interfaces).

## Install

`composer require inanepain/http`

## Usage

```php
$client = new \Inane\Http\Client();
$response = new \Inane\Http\Response();
$response->setBody('{"title":"Example"}');
$client->send($response);
```