Zach Borboa
cd924d10c3
Update PHP_CodeSniffer ruleset: PSR2 → PSR12
2023-06-30 01:23:37 -07:00
Zach Borboa
acf8e9f6a0
Include curl error code constant in curl error message (Curl::curlErrorMessage)
...
Before:
Timeout was reached: Operation timed out after 30001 milliseconds with 1453867 out of 3000000 bytes received
After:
Timeout was reached (CURLE_OPERATION_TIMEOUTED): Operation timed out after 30001 milliseconds with 1453867 out of 3000000 bytes received
2022-09-30 07:52:27 -07:00
Zach Borboa
161f9aea63
Use short array syntax
2021-03-18 01:15:52 -04:00
Zach Borboa
ea66e3bfb9
Standardize the use import statements
2020-04-17 18:47:59 -07:00
Zach Borboa
20d718e97e
Allow examples to run without modification to the include path
2017-08-25 00:36:03 -07:00
Zach Borboa
36709adbba
Clean up
2016-11-12 09:04:24 -08:00
Zach Borboa
27abd4899a
Add additional examples to cover supported request methods
2016-10-12 08:06:15 -07:00
Zach Borboa
0dcd1eb2b0
Remove newline before else
2016-08-19 00:39:19 -07:00
Zach Borboa
cd19c3bd2d
Simplify get example
2016-08-07 15:29:21 -07:00
Zach Borboa
9d94a9b8a1
Add HTTP GET examples with and without using base url
2016-07-04 02:46:44 -07:00