Skip to content

Commit 8ca6c73

Browse files
glbrnttgjcairo
andauthored
Apply suggestions from code review
Co-authored-by: Gus Cairo <[email protected]>
1 parent 073c95f commit 8ca6c73

File tree

1 file changed

+4
-4
lines changed
  • Sources/GRPCCore/Documentation.docc/Development

1 file changed

+4
-4
lines changed

Sources/GRPCCore/Documentation.docc/Development/Design.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,15 @@ at any given time, that detail isn't surfaced at this level of abstraction.
6262
While the server is responsible for handling streams, the ``ClientTransport`` is
6363
responsible for creating them. Client transports will typically maintain a
6464
number of connections which may change over a period of time. Maintaining these
65-
connection and other background work is done in the ``ClientTransport/connect()``
65+
connections and other background work is done in the ``ClientTransport/connect()``
6666
method. Cancelling the task running this method will result in the transport
6767
abruptly closing. The transport can be shutdown gracefully by calling
6868
``ClientTransport/beginGracefulShutdown()``.
6969

7070
Streams are created using ``ClientTransport/withStream(descriptor:options:_:)``
7171
and the lifetime of the stream is limited to the closure. The handler passed to
7272
the method will be provided by a gRPC client and will ultimately include the
73-
callers code to send request messages and process response messages. Cancelling
73+
caller's code to send request messages and process response messages. Cancelling
7474
the task abruptly closes the stream, although the transport should ensure that
7575
doing this doesn't leave the other side waiting indefinitely.
7676

@@ -85,8 +85,8 @@ the ``ClientTransport/retryThrottle`` and
8585
### Streams
8686

8787
Both client and server transport protocols use ``RPCStream`` to represent
88-
streams of information. Each RPC can be thought of has having two logical
89-
streams, a request stream where information flows from client to server,
88+
streams of information. Each RPC can be thought of as having two logical
89+
streams: a request stream where information flows from client to server,
9090
and a response stream where information flows from server to client.
9191
Each ``RPCStream`` has inbound and outbound types corresponding to one end of
9292
each stream.

0 commit comments

Comments
 (0)