-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Move HTTP client docs from components to guides #13916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
Performance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This diff is a bit messed-up: I moved the Performance (+ cURL support) a bit down. No contents where actually removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works for me, thanks!
2e3566e
to
029681f
Compare
029681f
to
9a51b28
Compare
Thanks for your detailed review @javiereguiluz! I fully agree with you that the order was a bit messed-up. I did some reordering and better explanation about the configuration. Please have a look again :) |
9a51b28
to
242b4d0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic changes! Wouter, thanks a lot for this great contribution!!
I left a tiny comment, but I can do that change while merging.
242b4d0
to
619e030
Compare
Merged! Thanks Wouter! |
This is now merged up to master. There were some conflicts in 5.1. Please check if I reworded things right to mention AmpHttp support. Also, this paragraph needs review:
Is this correct ... or does Amp also support HTTP/2 push? Always or only in certain versions? Thanks! |
Amp supports push yes, for all versions listed in the composer.json file |
The component docs are actually very similar to the framework guide :). The biggest update is adding framework config examples to all examples showing global configuration and moving the framework integration section more to the start of the article.
We once added
php-standalone
andphp-symfony
tabs to the configuration blocks, which allow showing the same code for standalone and in-framework usage. This currently is used only in the Form component docs: https://symfony.com/doc/current/components/form.html#creating-a-simple-form I heavily used this in the article, so we can show both code examples in a concise matter.Please let me know what you think! :)