| Package | Description |
|---|---|
| okhttp3.internal.connection | |
| okhttp3.internal.http2 |
| Modifier and Type | Method and Description |
|---|---|
void |
RealConnection.onStream(Http2Stream stream)
Refuse incoming streams.
|
| Modifier and Type | Method and Description |
|---|---|
Http2Stream |
Http2Connection.newStream(List<Header> requestHeaders,
boolean out)
Returns a new locally-initiated stream.
|
Http2Stream |
Http2Connection.pushStream(int associatedStreamId,
List<Header> requestHeaders,
boolean out)
Returns a new server-initiated stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Http2Server.onStream(Http2Stream stream) |
abstract void |
Http2Connection.Listener.onStream(Http2Stream stream)
Handle a new stream from this connection's peer.
|
Copyright © 2017. All Rights Reserved.