1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 10:03:27 +01:00

200 Commits

Author SHA1 Message Date
Michael Dowling
3472f1fb68 Renaming (g|s)etDefaultValue() to (g|s)etDefaultOption() 2014-03-24 19:44:55 -07:00
Michael Dowling
d3943ce1e3 Adding support for HTTP_PROXY and HTTPS_PROXY 2014-03-24 19:00:23 -07:00
Michael Dowling
5a90f97e28 Adding the ability to control the curl_multi select timeout using an envrionment variable 2014-03-24 17:00:15 -07:00
Michael Dowling
4335976066 Adding progress subscriber to the docs 2014-03-23 15:55:05 -07:00
Michael Dowling
b30ce5d514 Making clients more immutable
- Removing getConfig() and setConfig() from clients to avoid confusion around
  whether things like base_url, message_factory, etc should be able to be
  retrieved from getConfig() or modified using setConfig().
- Adding getDefaults() and setDefaultValue() to customize default request
  options of a client.
- Updating Url class to check if a scheme and host are set before adding
  ":" and "//". This allows empty Url (e.g., "") to be serialized as "".
- Removing dead code from Url class.
- Adding a functions.php function for get_path and set_path so that these
  functions can be used on regular PHP arrays. Collection now proxies to these
  functions when Collection::(get|set)Path() is called.
- Resolves #599.
2014-03-21 12:37:32 -07:00
Michael Dowling
3110976dfd Adding the ability to specify sendAll event priorities
- Adding optional priorities to sendAll events.
- Adding documentation on sendAll options.
2014-03-18 21:38:27 -07:00
Michael Dowling
002c2e3179 Updating composer.json install example 2014-03-18 11:29:36 -07:00
Michael Dowling
2971bb7dbf Fixing example 2014-03-17 22:01:48 -07:00
Michael Dowling
b9801df819 Adding the ability to specify custom stream context options and documentation on passing stream and curl options. 2014-03-17 21:56:15 -07:00
Eric Coleman
3deea0c86d Correct spelling mistake 2014-03-17 16:10:57 -04:00
Michael Dowling
e32613e049 Updating the streams docs 2014-03-16 20:03:33 -07:00
Michael Dowling
51cca7c8ea Updating theme 2014-03-15 14:44:21 -07:00
Michael Dowling
e43ced85c4 Fixing a couple typos and adding query string docs 2014-03-13 10:58:32 -07:00
Michael Dowling
08d918cdde Adding information about first and last priorities 2014-03-12 21:58:33 -07:00
Michael Dowling
6b741497b6 Adding information on event priorities 2014-03-12 19:34:27 -07:00
Michael Dowling
b18907d5cb Adding adapter docs and an emitHeaders() helper 2014-03-12 19:00:11 -07:00
Michael Dowling
8bea66ff62 Finishing pending FAQ items 2014-03-10 21:42:01 -07:00
Michael Dowling
311bb3dce1 Adding missing stream docs 2014-03-10 21:03:52 -07:00
Michael Dowling
32f7bb8ba0 Adding first and last dynamic event priorities 2014-03-09 20:54:03 -07:00
Michael Dowling
e32d850a99 Cleaning up the EventEmitter
- Changed GuzzleHttp\Event\SubscriberInterface::getSubscribedEvents from a
  static method to an instance method.
- Renamed addSubscriber to attach.
- Renamed removeSubscriber to detach.
2014-03-07 10:14:17 -08:00
Michael Dowling
5472c17055 Simplifying and updating cookie implementation 2014-03-05 00:55:37 -08:00
Michael Dowling
67c44cd2cb Adding project links 2014-03-01 17:37:34 -08:00
Michael Dowling
2ef69a3d43 Updating header parsing to accept a message and string value for a header 2014-02-20 22:04:44 -08:00
Michael Dowling
7cb2022027 Fixing client example 2014-02-18 20:42:16 -08:00
Michael Dowling
65333062c9 Moving Post namespace up a level 2014-02-17 20:55:48 -08:00
Michael Dowling
9e9500801e Doc fixes 2014-02-17 17:37:20 -08:00
Michael Dowling
efe252100e Adding a protocol setting and a bit of HTTP/2.0 support 2014-02-17 10:27:56 -08:00
Michael Dowling
2b779dccb3 Moving some things like query and url up a NS 2014-02-16 21:02:54 -08:00
Michael Dowling
89a8e2ede1 Using PSR-4 and moving namespace from Guzzle to GuzzleHttp
- Moving various namespaces up a level
- Updating docs
- Renaming EventSubscriberInterface to SubscriberInterface
2014-02-16 20:42:45 -08:00
Michael Dowling
ebf4e533d1 Renaming "options" to "config" for the config request option
Adding request and response docs
2014-02-16 17:10:57 -08:00
Michael Dowling
5203c3c277 Allow auth to be set to null 2014-02-16 15:45:43 -08:00
Michael Dowling
b7ea464e5e Allowing query string of a request to be changed 2014-02-16 13:39:16 -08:00
Michael Dowling
f99e7c77a1 Adding request event documentation 2014-02-16 13:01:46 -08:00
Michael Dowling
07c4470bb8 Adding note about signing priority 2014-02-16 12:26:49 -08:00
Michael Dowling
a1a23b11e7 Better defining how the "auth" option works
- Adding more docs and type information
- Defining how auth works and how to create custom auth schemes
- Removing custom auth stuff from the CurlFactory
2014-02-16 12:17:02 -08:00
Michael Dowling
46a1b91341 Adding the ability to specify protocol proxies
Adding more docs and an example of custom curl options.
2014-02-16 00:13:49 -08:00
Michael Dowling
9d62a557d4 Making it very clear that a client has an event listener prototype for requests 2014-02-15 23:47:49 -08:00
Michael Dowling
b572e3c8df Moving cookie jars, cleaning up expect, adding docs, validating auth schemes. 2014-02-15 23:40:24 -08:00
Michael Dowling
ba70a0ed3c More event docs updates 2014-02-15 14:40:18 -08:00
Michael Dowling
25a3a5046b Adding more event docs, and passing the emitter to listeners when they are triggered. 2014-02-15 14:15:27 -08:00
Michael Dowling
e801e7796b Renaming client and server response exceptions
- Adding more docs on error handling
- Tightening down the client interface to only allow RequestExceptions to be
  thrown from a client during a send() method. This makes error handling much
  easier and predictable.
2014-02-15 11:59:31 -08:00
Michael Dowling
d5834212e0 Tweaking curl implementation 2014-02-14 18:58:36 -08:00
Michael Dowling
c6cf0c6da2 Updating HTTP method signature to be simpler and more consistent
- HTTP method based signatures like get(), put(), etc.. accept a URL,
  and array of request options. createRequest() is similar but also requires
  a method string.
- Renamed request events to 'before', 'complete', 'error', and 'headers.
- Renamed the associated event classes.
- Adding more docs.
2014-02-13 23:37:34 -08:00
Michael Dowling
f35c07eba4 Reorganizing docs 2014-02-13 20:05:40 -08:00
Michael Dowling
ef42e31fc0 Adding more docs 2014-02-13 09:45:42 -08:00
Michael Dowling
7368075cf9 Replacing HeaderValuesInterface with an array and adding docs.
- Instead of using a HeaderValues object for header values, I've added an
optional argument to getHeader() that specifies whether or not to return
a header as a string or an array.
- Adding the start of the new documentation.
2014-02-12 20:07:05 -08:00
Michael Dowling
46b9bb8ef7 Updating to latest version of the docs theme 2013-11-01 11:49:42 -07:00
Michael Dowling
3f9a8e7339 Updating to work with readthedocs and the latest version of the Sphinx theme 2013-10-31 17:02:04 -07:00
Michael Dowling
46a43355ab Cleaning up plugin links, trimming conf.py, and trying to fix the links on readthedocs 2013-10-31 16:41:15 -07:00
Michael Dowling
952389821a Moving docs to main repo 2013-10-31 15:25:29 -07:00