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.
52
52
Most higher-level components (such as HTTP, database or other networking
53
53
service clients) accept an instance implementing this interface to create their
54
54
TCP/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
56
56
swap this implementation against this library in order to connect through an
57
57
HTTP CONNECT proxy.
58
58
59
59
The interface only offers a single method:
60
60
61
61
#### create()
62
62
63
- The ` create(string $host, int $port): PromiseInterface<Stream> ` method
63
+ The ` create(string $host, int $port): PromiseInterface<Stream, Exception > ` method
64
64
can be used to establish a streaming connection.
65
65
It returns a [ Promise] ( https://github.com/reactphp/promise ) which either
66
66
fulfills with a [ Stream] ( https://github.com/reactphp/stream ) or
You can’t perform that action at this time.
0 commit comments