Skip to content

Commit 2689278

Browse files
committed
Improve docs.
1 parent 5b86dbd commit 2689278

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,21 @@ $options = [
5353
$client = new CurlHttpClient(new GuzzleMessageFactory(), new GuzzleStreamFactory(), $options);
5454
```
5555

56-
Keep in mind that CurlHttpClient can overwrite some options like `CURLOPT_RETURNTRANSFER` or
57-
`CURLOPT_FOLLOWLOCATION`.
56+
These options can not ne used:
57+
58+
* CURLOPT_CUSTOMREQUEST
59+
* CURLOPT_FOLLOWLOCATION
60+
* CURLOPT_HEADER
61+
* CURLOPT_HTTP_VERSION
62+
* CURLOPT_HTTPHEADER
63+
* CURLOPT_NOBODY
64+
* CURLOPT_POSTFIELDS
65+
* CURLOPT_RETURNTRANSFER
66+
* CURLOPT_URL
67+
68+
These options can be overwritten by CurlHttpClient:
69+
70+
* CURLOPT_USERPWD
5871

5972
## Documentation
6073

0 commit comments

Comments
 (0)