base_url - string (was boolean, string, integer, float and null)
auth - string or array (was array only)
query - string or array (was boolean, string, integer, float and null)
connect_timeout - float and int (was boolean, string, integer, float and null)
decode_content - string and bool (was bool) (Note: string in case of decoding, ex: gzip)
delay - float and int (was boolean, string, integer, float and null)
expect - bool or int (was boolean, string, integer, float and null)
ssl_key - string or array with two elements (was boolean, string, integer, float and null)
stream - bool (was bool or string)
synchronous - bool and string (was bool or string casted to string)
timeout - float or int (was boolean, string, integer, float and null)
verify - bool and string (was bool or string casted to string)
cookies - bool (was bool and string casted to bool)
version - string or float (was boolean, string, integer, float and null)
@florianpreusner I added more strict type for options and now it's fully compatible with guzzle docs. I also wrote tests for options. Any remarks or suggestions?
Fixed tickets: [#97] License: MIT
Added options:
Modified options:
@florianpreusner I added more strict type for options and now it's fully compatible with guzzle docs. I also wrote tests for options. Any remarks or suggestions?
Guzzle docs: http://docs.guzzlephp.org/en/latest/request-options.html