bear/devtools

1.0.2 2021-08-20 04:06 UTC

This package is auto-updated.

Last update: 2022-01-20 05:02:12 UTC


README

HttpResource starts a local server and becomes an HTTP client.

$resource =  new HttpResource('127.0.0.1:8099', '/path/to/index.php',  '/path/to/curl.log');
$ro = $resource->get('/');
assert($ro->code === 200);