Breaking change
-
Browser
constructor now takes aClient
instance. Replace:new Browser($handler);
with:
new Browser(new Client($handler));
New method
Client::addHeaders()
: likesetHeaders()
, but merges with existing headers instead of replacing them.