18 __DIR__ .
'/../vendor/autoload.php',
19 __DIR__ .
'/../../../autoload.php',
20 __DIR__ .
'/vendor/autoload.php',
24 if (file_exists($path)) {
32 'Host' =>
'example.org',
33 'Content-Type' =>
'application/json' 36 $request->setBody(json_encode([
'foo' =>
'bar']));
43 'Content-Type' =>
'text/plain',
44 'Connection' =>
'close',
The Request class represents a single HTTP request.
foreach($paths as $path) $request
This class represents a single HTTP response.