|
22 | 22 | </service> |
23 | 23 |
|
24 | 24 | <!-- Discovery with autowiring support --> |
25 | | - <service id="httplug.message_factory.default" class="Http\Message\MessageFactory"> |
26 | | - <factory class="Http\Discovery\MessageFactoryDiscovery" method="find" /> |
27 | | - </service> |
28 | | - <service id="Http\Message\MessageFactory" alias="httplug.message_factory" public="false" /> |
29 | | - <service id="Http\Message\RequestFactory" alias="httplug.message_factory" public="false" /> |
30 | | - <service id="Http\Message\ResponseFactory" alias="httplug.message_factory" public="false" /> |
31 | | - |
32 | | - <service id="httplug.stream_factory.default" class="Http\Message\StreamFactory"> |
33 | | - <factory class="Http\Discovery\StreamFactoryDiscovery" method="find" /> |
34 | | - </service> |
35 | | - <service id="Http\Message\StreamFactory" alias="httplug.stream_factory" public="false" /> |
36 | | - |
37 | | - <service id="httplug.uri_factory.default" class="Http\Message\UriFactory"> |
38 | | - <factory class="Http\Discovery\UriFactoryDiscovery" method="find" /> |
39 | | - </service> |
40 | | - <service id="Http\Message\UriFactory" alias="httplug.uri_factory" public="false" /> |
41 | | - |
42 | 25 | <service id="httplug.async_client.default" class="Http\Client\HttpAsyncClient"> |
43 | 26 | <factory class="Http\Discovery\HttpAsyncClientDiscovery" method="find" /> |
44 | 27 | </service> |
|
80 | 63 | <!-- ClientFactories --> |
81 | 64 | <service id="httplug.factory.auto" class="Http\HttplugBundle\ClientFactory\AutoDiscoveryFactory" public="false" /> |
82 | 65 | <service id="httplug.factory.buzz" class="Http\HttplugBundle\ClientFactory\BuzzFactory" public="false"> |
83 | | - <argument type="service" id="httplug.message_factory"/> |
| 66 | + <argument type="service" id="httplug.psr17_response_factory"/> |
84 | 67 | </service> |
85 | 68 | <service id="httplug.factory.curl" class="Http\HttplugBundle\ClientFactory\CurlFactory" public="false"> |
86 | 69 | <argument type="service" id="httplug.psr17_response_factory"/> |
87 | 70 | <argument type="service" id="httplug.psr17_stream_factory"/> |
88 | 71 | </service> |
89 | | - <service id="httplug.factory.guzzle5" class="Http\HttplugBundle\ClientFactory\Guzzle5Factory" public="false"> |
90 | | - <argument type="service" id="httplug.message_factory"/> |
91 | | - </service> |
92 | 72 | <service id="httplug.factory.guzzle6" class="Http\HttplugBundle\ClientFactory\Guzzle6Factory" public="false" /> |
93 | 73 | <service id="httplug.factory.guzzle7" class="Http\HttplugBundle\ClientFactory\Guzzle7Factory" public="false" /> |
94 | | - <service id="httplug.factory.react" class="Http\HttplugBundle\ClientFactory\ReactFactory" public="false"> |
95 | | - <argument type="service" id="httplug.message_factory"/> |
96 | | - </service> |
97 | | - <service id="httplug.factory.socket" class="Http\HttplugBundle\ClientFactory\SocketFactory" public="false"> |
98 | | - <argument type="service" id="httplug.message_factory"/> |
99 | | - </service> |
| 74 | + <service id="httplug.factory.react" class="Http\HttplugBundle\ClientFactory\ReactFactory" public="false" /> |
| 75 | + <service id="httplug.factory.socket" class="Http\HttplugBundle\ClientFactory\SocketFactory" public="false" /> |
100 | 76 | <service id="httplug.factory.symfony" class="Http\HttplugBundle\ClientFactory\SymfonyFactory" public="false"> |
101 | 77 | <argument type="service" id="httplug.psr17_response_factory"/> |
102 | 78 | <argument type="service" id="httplug.psr17_stream_factory"/> |
|
0 commit comments