Skip to content

Commit

Permalink
Merge pull request #896 from CheerfulPlum/master
Browse files Browse the repository at this point in the history
Update README for effective_url with MockHandler #895
  • Loading branch information
ezimuel committed Jun 17, 2019
2 parents e8d035b + 68ba57e commit b99c41b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,8 @@ $handler = new MockHandler([
'transfer_stats' => [
'total_time' => 100
],
'body' => fopen('somefile.json')
'body' => fopen('somefile.json'),
'effective_url' => 'localhost'
]);
$builder = ClientBuilder::create();
$builder->setHosts(['somehost']);
Expand Down

0 comments on commit b99c41b

Please sign in to comment.