Commit ec685b3
authored
Add the HTTP/2 connection (#1859)
Motivation:
To build up a subchannel we need the notion of a connection to a
backend as a building block. The connection provides a single HTTP/2
connection to the remote peer and doesn't deal with backoff or
reconnects.
Modifications:
- Add the 'Connection' object which provides multiplexed streams to a
connected backend
- Add a 'connector' API which provides a NIO channel and a multiplexer
on which streams can be created
- Add test Utilities and tests
Result:
Can create a connection to a backend and run streams on it.1 parent bdb7458 commit ec685b3
File tree
11 files changed
+1209
-4
lines changed- Sources/GRPCHTTP2Core
- Client/Connection
- Internal
- Tests/GRPCHTTP2CoreTests
- Client/Connection
- Utilities
- Test Utilities
11 files changed
+1209
-4
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
0 commit comments