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).
- Host: GitHub
- URL: https://github.com/inanepain/http
- Owner: inanepain
- License: unlicense
- Created: 2022-04-06T19:05:59.000Z (about 3 years ago)
- Default Branch: develop
- Last Pushed: 2024-09-20T09:41:37.000Z (9 months ago)
- Last Synced: 2025-02-24T21:11:28.361Z (3 months ago)
- Language: PHP
- Size: 127 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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);
```