-
Notifications
You must be signed in to change notification settings - Fork 56
Document Socket client #72
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
Usage | ||
----- | ||
|
||
The Socket client need a :ref:`message factory <message-factory>` in order to |
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.
s/need/needs/
👍 i think we might want a partial to include on all client docs to mention the plugin system. with a minimal client like this one, its particularly important. the client does not follow redirects for example. |
we could add the note on plugins in the footer that talks about async and message factory (the one we said in #67 that we will separate it out later). does this client support async at all? if not, we maybe want a little table with the feature overview for each client... |
IMO all clients which support async should be implemented as async in the adapter as well, but async emulation should not be done by default. |
0ad64af
to
f63a23b
Compare
Updated according to feedback.
No.
Done. |
@@ -0,0 +1,4 @@ | |||
* Use :ref:`plugins <plugins>` to customize the way HTTP requests are sent and responses | |||
processed. |
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.
we could mention that the plain client is configured to not follow redirects for example.
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.
Is that the same for all our clients or does it differ between them?
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.
looks good. we could tweak the further reading, if you want. and it would be good to have input from joel on the remote_socket option. but both are imho not blockers for merging. |
👍 |
👍 except for the example :), huge thanks for taking time to do the documentation @ddeboer ! |
a4ccf50
to
3d122c9
Compare
Tweaked further reading by giving some plugin examples. |
👍 |
Ref php-http/socket-client#4