Skip to content

Commit 3eca342

Browse files
committed
adjustion some mentions of message factory to HTTP factory
1 parent 3c26e59 commit 3eca342

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

clients/includes/further-reading.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
* Use :doc:`plugins </plugins/introduction>` to customize the way HTTP requests are sent and
22
responses processed by following redirects, adding Authentication or Cookie
33
headers and more.
4-
* Learn how you can decouple your code from any PSR-7 implementation by using a
5-
:ref:`message factory <message-factory>`.
4+
* Learn how you can decouple your code from any PSR-7 implementation by using
5+
the :ref:`HTTP factories <message-factory>`.

httplug/library-developers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Messages
6363
--------
6464

6565
When you construct HTTP message objects in your library, you should not depend on a concrete PSR-7 message
66-
implementation. Instead, use the :ref:`PHP-HTTP message factory <message-factory>`.
66+
implementation. Instead, use the :doc:`HTTP factories <../message/message-factory>`.
6767

6868
Discovery
6969
---------

message.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ This package contains various PSR-7 tools which might be useful in an HTTP workf
1212
* Various Stream encoding tools
1313
* Message decorators
1414
* Message factory implementations for Guzzle PSR-7, Diactoros and Slim Framework.
15+
* Stream and URI factory implementations for Guzzle PSR-7 and Diactoros
1516
* Cookie implementation

message/message-factory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Rationale
1111

1212
While it should be possible to use every PSR-7 aware HTTP client with any
1313
request, URI and stream implementation, instantiating objects explicitly would
14-
still tie the code to a specific implementation. If each reusable library is
14+
still tie the code to a specific implementation. If each reusable library is
1515
tied to a specific message implementation, an application could end up
1616
installing several message implementations. The factories move instantiation
1717
out of the library code, further decoupling libraries from implementation.

spelling_word_list.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ sublicense
3030
sync
3131
toolbar
3232
username
33+
versa
3334
whitelist
3435
wiki
3536
Wikipedia

0 commit comments

Comments
 (0)