v0.4.0
版本发布时间: 2015-08-10 06:29:49
clue/reactphp-buzz最新发布版本:v2.9.0(2020-07-03 18:47:43)
-
Feature: Resolve relative URIs, add withBase() and resolve() (#41, #44)
$browser = $browser->withBase('http://example.com/'); $browser->post('/');
-
Feature: Resolve URI template placeholders according to RFC 6570 (#42, #44)
$browser->post($browser->resolve('/{+path}{?version}', array( 'path' => 'demo.json', 'version' => '4' )));
-
Feature: Resolve and follow redirects to relative URIs (#45)
-
Feature / BC break: Simplify Request and Response objects. Remove Browser::request(), use Browser::send() instead. (#37)
// old $browser->request('GET', 'http://www.example.com/'); // new $browser->send(new Request('GET', 'http://www.example.com/'));
-
Feature / Bc break: Enforce absolute URIs via new Uri class (#40, #44)
-
Feature: Add Browser::withSender() method (#38)
-
Feature: Add Sender::createFromLoopDns() function (#39)
-
Improve documentation and test suite