Skip to content

Commit 68ba57e

Browse files
committed
Update README for effective_url with MockHandler #895
1 parent 32fd80e commit 68ba57e

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
@@ -339,7 +339,8 @@ $handler = new MockHandler([
339339
'transfer_stats' => [
340340
'total_time' => 100
341341
],
342-
'body' => fopen('somefile.json')
342+
'body' => fopen('somefile.json'),
343+
'effective_url' => 'localhost'
343344
]);
344345
$builder = ClientBuilder::create();
345346
$builder->setHosts(['somehost']);

0 commit comments

Comments
 (0)