@@ -40,15 +40,13 @@ mess with most of the low-level details.
4040 * [ submit()] ( #submit )
4141 * [ send()] ( #send )
4242 * [ withOptions()] ( #withoptions )
43- * [ withSender()] ( #withsender )
4443 * [ withBase()] ( #withbase )
4544 * [ withoutBase()] ( #withoutbase )
4645 * [ ResponseInterface] ( #responseinterface )
4746 * [ RequestInterface] ( #requestinterface )
4847 * [ UriInterface] ( #uriinterface )
4948 * [ ResponseException] ( #responseexception )
5049* [ Advanced] ( #advanced )
51- * [ Sender] ( #sender )
5250 * [ SOCKS proxy] ( #socks-proxy )
5351 * [ Options] ( #options )
5452* [ Install] ( #install )
@@ -106,11 +104,6 @@ $connector = new \React\Socket\Connector($loop, array(
106104$browser = new Browser($loop, $connector);
107105```
108106
109- Legacy notice: This project previously used different APIs that are now
110- deprecated, but continue to work unchanged. This legacy API will be removed in
111- a future version, so it's highly recommended to upgrade to the above API.
112- See also [ ` Sender ` ] ( #sender ) .
113-
114107#### Methods
115108
116109The ` Browser ` offers several methods that resemble the HTTP protocol methods:
@@ -363,22 +356,6 @@ actually returns a *new* [`Browser`](#browser) instance with the [options](#opti
363356
364357See [ options] ( #options ) for more details.
365358
366- #### withSender()
367-
368- > [ deprecated] The ` Sender ` is deprecated and will likely be removed in a
369- future version.
370-
371- The ` withSender(Sender $sender) ` method can be used to change the [ ` Sender ` ] ( #sender ) instance to use:
372-
373- ``` php
374- $newBrowser = $browser->withSender($sender);
375- ```
376-
377- Notice that the [ ` Browser ` ] ( #browser ) is an immutable object, i.e. the ` withSender() ` method
378- actually returns a * new* [ ` Browser ` ] ( #browser ) instance with the given [ ` Sender ` ] ( #sender ) applied.
379-
380- See [ ` Sender ` ] ( #sender ) for more details.
381-
382359#### withBase()
383360
384361The ` withBase($baseUri) ` method can be used to change the base URI used to
@@ -457,25 +434,6 @@ The `getResponse()` method can be used to access its underlying [`ResponseIntefa
457434
458435## Advanced
459436
460- ### Sender
461-
462- > [ deprecated] The ` Sender ` is deprecated and will likely be removed in a
463- future version.
464-
465- The ` Sender ` is responsible for passing the [ ` RequestInterface ` ] ( #requestinterface ) objects to
466- the underlying [ ` HttpClient ` ] ( https://github.com/reactphp/http-client ) library
467- and keeps track of its transmission and converts its reponses back to [ ` ResponseInterface ` ] ( #responseinterface ) objects.
468-
469- It also registers everything with the main [ ` EventLoop ` ] ( https://github.com/reactphp/event-loop#usage )
470- and the default [ ` Connector ` ] ( https://github.com/reactphp/socket-client ) and [ DNS ` Resolver ` ] ( https://github.com/reactphp/dns ) .
471-
472- See also [ ` Browser::withSender() ` ] ( #withsender ) for changing the ` Sender ` instance during runtime.
473-
474- Legacy notice: The ` Sender ` class mostly exists in order to abstract changes
475- on the underlying components away from this package. As such, it offers a number
476- of legacy APIs that are now deprecated and no longer in active use. These APIs
477- continue to work unchanged, but will be removed in a future version.
478-
479437### SOCKS proxy
480438
481439You can also establish your outgoing connections through a SOCKS proxy server
0 commit comments