Skip to content

Commit a743001

Browse files
authored
Update README.md
1 parent 66ed0fc commit a743001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ throughout React's ecosystem.
5252
Most higher-level components (such as HTTP, database or other networking
5353
service clients) accept an instance implementing this interface to create their
5454
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
5656
swap this implementation against this library in order to connect through an
5757
HTTP CONNECT proxy.
5858

5959
The 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
6464
can be used to establish a streaming connection.
6565
It returns a [Promise](https://github.com/reactphp/promise) which either
6666
fulfills with a [Stream](https://github.com/reactphp/stream) or

0 commit comments

Comments
 (0)