switch to using curl_setopt_array for better readability, added utility methods Fixes #66
This commit is contained in:
10
README.md
10
README.md
@@ -283,6 +283,16 @@ Unirest\Request::verifyPeer(false); // Disables SSL cert validation
|
||||
|
||||
By default is `true`.
|
||||
|
||||
#### Utility Methods
|
||||
|
||||
```php
|
||||
// alias for `curl_getinfo`
|
||||
Unirest\Request::getInfo()
|
||||
|
||||
// returns internal cURL handle
|
||||
Unirest\Request::getCurlHandle()
|
||||
```
|
||||
|
||||
----
|
||||
|
||||
Made with ♥ from the [Mashape][mashape-url] team
|
||||
|
||||
Reference in New Issue
Block a user