bear/devtools

1.0.3 2022-07-03 09:29 UTC

This package is auto-updated.

Last update: 2022-11-03 10:19:46 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);