File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ throughout React's ecosystem.
5252Most higher-level components (such as HTTP, database or other networking
5353service clients) accept an instance implementing this interface to create their
5454TCP/IP connection to the underlying networking service.
55- This is usually done via dependency injection, so its fairly simple to actually
55+ This is usually done via dependency injection, so it's fairly simple to actually
5656swap this implementation against this library in order to connect through an
5757HTTP CONNECT proxy.
5858
5959The interface only offers a single method:
6060
6161#### create()
6262
63- The ` create(string $host, int $port): PromiseInterface<Stream> ` method
63+ The ` create(string $host, int $port): PromiseInterface<Stream, Exception > ` method
6464can be used to establish a streaming connection.
6565It returns a [ Promise] ( https://github.com/reactphp/promise ) which either
6666fulfills with a [ Stream] ( https://github.com/reactphp/stream ) or
You can’t perform that action at this time.
0 commit comments