File tree Expand file tree Collapse file tree 4 files changed +0
-63
lines changed
Expand file tree Collapse file tree 4 files changed +0
-63
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ mess with most of the low-level details.
5050* [ Advanced] ( #advanced )
5151 * [ Sender] ( #sender )
5252 * [ SOCKS proxy] ( #socks-proxy )
53- * [ Unix domain sockets] ( #unix-domain-sockets )
5453 * [ Options] ( #options )
5554* [ Install] ( #install )
5655* [ Tests] ( #tests )
@@ -487,22 +486,6 @@ This works for both plain HTTP and SSL encrypted HTTPS requests.
487486
488487See also the [ SOCKS example] ( examples/11-socks-proxy.php ) .
489488
490- ### Unix domain sockets
491-
492- This library also supports connecting to a local Unix domain socket (UDS) path.
493- You have to explicitly create a legacy [ ` Sender ` ] ( #sender ) that passes every
494- request through the given UNIX domain socket.
495- For consistency reasons you still have to pass full HTTP URLs for every request,
496- but the host and port will be ignored when establishing a connection.
497-
498- ``` php
499- $path = 'unix:///tmp/daemon.sock';
500- $sender = Sender::createFromLoopUnix($loop, $path);
501- $client = new Browser($loop, $sender);
502-
503- $client->get('http://localhost/demo');
504- ```
505-
506489### Options
507490
508491Note: This API is subject to change.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,13 +23,6 @@ public function testCreateFromLoop()
2323 $ this ->assertInstanceOf ('Clue\React\Buzz\Io\Sender ' , $ sender );
2424 }
2525
26- public function testCreateFromLoopUnix ()
27- {
28- $ sender = Sender::createFromLoopUnix ($ this ->loop , 'unix:///run/daemon.sock ' );
29-
30- $ this ->assertInstanceOf ('Clue\React\Buzz\Io\Sender ' , $ sender );
31- }
32-
3326 public function testSenderConnectorRejection ()
3427 {
3528 $ connector = $ this ->getMock ('React\Socket\ConnectorInterface ' );
You can’t perform that action at this time.
0 commit comments