Skip to content

Commit c323eb2

Browse files
naturalwarrenswankjesse
authored andcommitted
Add 'of' to Connection JavaDoc. (square#3579)
1 parent 2696b4a commit c323eb2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

okhttp/src/main/java/okhttp3/Connection.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
*
4949
* <h3>Connection Reuse</h3>
5050
*
51-
* <p>Each connection can carry a varying number streams, depending on the underlying protocol being
52-
* used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any
53-
* number of streams, dynamically configured with {@code SETTINGS_MAX_CONCURRENT_STREAMS}. A
54-
* connection currently carrying zero streams is an idle stream. We keep it alive because reusing an
55-
* existing connection is typically faster than establishing a new one.
51+
* <p>Each connection can carry a varying number of streams, depending on the underlying protocol
52+
* being used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can
53+
* carry any number of streams, dynamically configured with {@code SETTINGS_MAX_CONCURRENT_STREAMS}.
54+
* A connection currently carrying zero streams is an idle stream. We keep it alive because reusing
55+
* an existing connection is typically faster than establishing a new one.
5656
*
5757
* <p>When a single logical call requires multiple streams due to redirects or authorization
5858
* challenges, we prefer to use the same physical connection for all streams in the sequence. There

0 commit comments

Comments
 (0)