bear/devtools

1.0.3 2022-07-03 09:29 UTC

This package is auto-updated.

Last update: 2023-11-24 01:31:02 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);