1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-03-17 21:00:33 +01:00

274 Commits

Author SHA1 Message Date
Matheus Batista
74b6e54268
[Doc] Fix PSR-7 namespace (#2747)
Missing `Message` in the `RequestInterface` namespace.
2020-09-19 15:01:21 +02:00
Edwin van de Pol
c6fec1ee3b
Updated PHP version in documentation (#2730)
As composer states, the minimum version is 7.2.5.
2020-07-23 07:24:39 +02:00
Graham Campbell
d01c37dcd0
Updated installation docs (#2565) 2020-06-16 22:13:12 +03:00
Tobias Nyholm
44affcbd8e
Rebased 2641 (#2653)
* Change link due repository deprecation

- https://github.com/bagder/ca-bundle#deprecated

* Update request-options.rst

Co-authored-by: Serhii Zhuravel <1804871+dxops@users.noreply.github.com>
2020-05-23 22:49:10 +03:00
Graham Campbell
7953b1d64a Merge branch '6.5' into merge-changes 2020-05-23 20:25:21 +01:00
Guilliam Xavier
0d137e9448
[6.5] Remove obsolete statement in handler option docs (#2567)
* Remove obsolete statement in handler option phpDoc

* Remove obsolete statement in handler option doc
2020-05-23 21:58:46 +03:00
Vladislav Novik
5132e8a4da
Fix syntax errors (#2590)
This fixes some unclosed braces to make the example code valid.
2020-05-23 20:16:01 +02:00
Mponos George
88015c3433
Added wording for the timeout (#2645) 2020-05-23 20:25:52 +03:00
Georald Camposano
7e8de7a042
Update quickstart.rst (#2610)
Update "Concurrent requests" examples when using Promise unwrap and settle functions

Co-authored-by: georald camposano <georald@pgiauto.com>
2020-05-18 21:57:13 +03:00
Juan Morales
837b5a3554
Fix error on quickstart for concurrent requests (#2574)
The example fixed gives an error as it is at the moment:

`Fatal error: Uncaught Error: Call to a member function getHeader() on array`

The fix provides the right code for the example.
2020-05-18 20:30:09 +03:00
Graham Campbell
dd2ed2e2e1 [7.0] Remove dead PHP 5 code (#2560)
* Remove dead PHP 5 code

* Removed old docs
2020-01-19 20:22:26 +02:00
Graham Campbell
22bd6b7622 Updated old hyperlinks to their new locations 2020-01-19 11:27:25 +00:00
Graham Campbell
257ec5087d Avoid functions due to global install conflicts (#2546) 2020-01-19 09:16:12 +01:00
Graham Campbell
c816520590 Avoid the getConfig function (#2515) 2020-01-18 14:00:19 +01:00
Mponos George
ed78a6e779 merged with 6.5 2019-12-18 16:12:28 +02:00
Márk Sági-Kazár
2eda2b9c75
Merge pull request #2454 from alexeyshockov/idn-conversion-fix
Better defaults for PHP installations with old ICU lib
2019-12-18 14:24:05 +01:00
Jonny Nott
b372406562
fix dash underline for idn_conversion
...so it actually shows up as a section in the docfile
2019-12-17 08:34:44 +00:00
Alexey Shokov
c63379edaa
Better defaults for PHP installations with old ICU lib 2019-12-12 15:04:43 +04:00
Jason Moore
4a106300e0 Remove unused exception class. Closes #2102 (#2162)
* Remove unused exception class. Closes #2102

* Removed PHPStan rules
2019-12-08 17:02:23 +01:00
Alexey Shokov
9d4716949a Internationalized domain name (IDN) support (#2286)
* Internationalized domain name (IDN) support

* Documentation fix

* Tests for base_uri

* PHPStan and CI fixes

* cs
2019-12-07 10:28:27 +01:00
Marco Aurélio Deleu
9d6e080285 Change docs to match code (#2391) 2019-10-27 10:43:59 +02:00
Luis Jimenez
6a946467b3 MockHandler - Add support to reset internal queue (#2143) 2019-10-23 18:14:19 +02:00
Alexey Shokov
8f10d0ea90 Custom option for cURL multi handler (#2287)
* Custom option for cURL multi handler

* Assertion fix
2019-10-23 18:13:30 +02:00
Christian Weiske
2b1dfedd8d Link Multipartstream in PSR-7 docs (#2305) 2019-10-18 14:00:04 +02:00
Márk Sági-Kazár
15d679de1d
Merge pull request #2360 from mikewink/patch-1
Fixed a little typo
2019-10-14 11:13:52 +02:00
Márk Sági-Kazár
2b4f1cc9cc
Update overview.rst 2019-10-14 11:12:37 +02:00
Vahid Fazlollahzade
b07fcf95e7
Added a note to Overview to mention cURL
Without cURL, concurrency is not available. See https://bit.ly/33fA7RU and https://bit.ly/2IFVG6o for some SO questions.
2019-10-11 20:37:20 +03:30
Mike Wink
7c8d53b300
Fixed a little typo
Fixed a tiny typo in the proxy section.

"…it is up to you[r] to provide the no value…"
2019-09-12 11:32:34 +02:00
Márk Sági-Kazár
b44a8801fc
Merge pull request #2050 from aredridel/document-body-in-testing
Document use of a body with mock responses
2019-04-15 07:52:55 +02:00
Márk Sági-Kazár
e317796722
Remove getContents 2019-04-15 07:52:34 +02:00
Benjamin Morel
693d98d8bc
The $downloadTotal parameter can be zero in progress callback 2019-03-20 16:56:14 +01:00
Jared Howland
fa745406c2 [FIX] Code block in Quickstart documentation (#2268) 2019-02-26 18:21:14 +01:00
Márk Sági-Kazár
c84df5fc88
Merge pull request #2159 from nicolasmure/fix/pool-doc
[Doc] typehint Pool's 'fulfilled' and 'rejected' callbacks
2018-12-21 17:44:32 +01:00
Márk Sági-Kazár
330dc56732
Merge pull request #2161 from casconed/cleanup-environment-variables
Cleanup environment variables
2018-12-21 17:43:56 +01:00
Woody Gilk
3ef0c808db
Clean up concurrent requests documentation 2018-12-06 16:44:52 -06:00
yuuri111
3c4f9564a8
update exceptions doc from Connection to Connect
ConnectionException does not exist.
2018-11-02 00:59:25 +09:00
Darryl Hein
636b6b2ec9
add use statement 2018-10-26 20:12:33 -06:00
Jason Moore
00a5657216 Add to list of supported environment variables 2018-10-04 09:00:25 -05:00
Nicolas MURE
ef4490a9ab
doc : typehint Pool's 'fulfilled' and 'rejected' callbacks 2018-10-04 15:39:27 +02:00
neghmurken
4b2604b284 Add documentation for cookies 2018-10-03 22:53:38 +02:00
Daniel Espendiller
05f9f3b9f9 Using single qoute in testing documentation (#2138)
To make qoute documentation consistently use single qoute in Mock Handler section
2018-09-07 19:54:47 +02:00
Woody Gilk
634baabf14
Correct reference to undefined default handler
The default handler is created with `HandlerStack::create()`.
2018-07-30 11:07:04 -05:00
Tarjei Huse
8eb20b4470
Clean up variable naming to make docs a bit clearer
Hope it's ok ;)
2018-07-27 08:08:03 +02:00
Márk Sági-Kazár
003757426c
Fix typo 2018-06-23 23:34:47 +02:00
Jos Ahrens
40b94a3e90
docs/quickstart: add Exception Tree View (#2055)
Add a tree view to the quickstart documentation for Exceptions

Closes #2055
2018-06-20 21:55:50 +00:00
Aria Stewart
a17ad8d7b3 Document use of a body with mock responses
This was a thing I had to gather from third parties while learning to test Guzzle clients. An example like this would have made it instantly obvious what the API is.
2018-04-12 13:49:54 -04:00
Márk Sági-Kazár
6a7e4e81a8
Merge pull request #1974 from TomzxForks/fixes/1972-update-docs-getHeader-returns-array
Fix documentation using the getHeader method
2018-02-05 02:39:58 +01:00
Hannes Van De Vreken
aa5b807560 Missing sendAsync call (#1985)
* Missing sendAsync call

* Fixed response -> promise
2018-01-06 18:37:08 +01:00
Tom Rochette
b9bf901212 Add missing 0 index to documentation making use of the getHeader method.
The getHeader method always returns an array, but it may be empty.
For documentation purpose, we assume that the response object always contains the queried header, thus providing at least one element in the array at index 0.
2017-12-08 15:57:46 -05:00
Andy Snell
3b60a95898
Align Heading Line Markdown 2017-10-23 10:07:50 -04:00