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

6 Commits

Author SHA1 Message Date
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
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
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
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