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

0.1.4 2023-05-03 11:02 UTC

This package is auto-updated.

Last update: 2024-12-20 10:06:43 UTC


README

()

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

Install

composer require inanepain/http

Usage

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