Skip to content

Commit b99c41b

Browse files
authored
Merge pull request #896 from CheerfulPlum/master
Update README for effective_url with MockHandler #895
2 parents e8d035b + 68ba57e commit b99c41b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,8 @@ $handler = new MockHandler([
342342
'transfer_stats' => [
343343
'total_time' => 100
344344
],
345-
'body' => fopen('somefile.json')
345+
'body' => fopen('somefile.json'),
346+
'effective_url' => 'localhost'
346347
]);
347348
$builder = ClientBuilder::create();
348349
$builder->setHosts(['somehost']);

0 commit comments

Comments
 (0)