-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[HttpClient] Replace a few classes and methods occurrences by their source code link #17988
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
[HttpClient] Replace a few classes and methods occurrences by their source code link #17988
Conversation
dd9fc9f
to
394fc95
Compare
3f4b3c7
to
ea53c03
Compare
http_client.rst
Outdated
@@ -1041,8 +1044,9 @@ following methods:: | |||
Streaming Responses | |||
~~~~~~~~~~~~~~~~~~~ | |||
|
|||
Call the ``stream()`` method of the HTTP client to get *chunks* of the | |||
response sequentially instead of waiting for the entire response:: | |||
Call the ``stream()`` method of :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface` |
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.
Call the ``stream()`` method of :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface` | |
Call the :class:`Symfony\\Contracts\\HttpClient\\HttpClientInterface::stream`` method |
Same for similar occurrences.
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.
Updated for this one and other occurrences 🙂
http_client.rst
Outdated
``HttpClient::create()`` selects the cURL transport if the `cURL PHP extension`_ | ||
is enabled and falls back to PHP streams otherwise. If you prefer to select | ||
the transport explicitly, use the following classes to create the client:: | ||
The ``create()`` method of :class:`Symfony\\Component\\HttpClient\\HttpClient` |
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.
The ``create()`` method of :class:`Symfony\\Component\\HttpClient\\HttpClient` | |
:class:`HttpClient::create() <Symfony\\Component\\HttpClient\\HttpClient::create>` |
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.
IMHO we should keep HttpClient::create()
like before, same for the other examples
ea53c03
to
bed01f4
Compare
bed01f4
to
335c8cf
Compare
Forgot this one 😄 I updated with your suggestions |
Thanks Alex ... and thanks reviewers too! |
Fixing a few missing ones