Package | Description |
---|---|
okhttp3.mockwebserver |
Modifier and Type | Method and Description |
---|---|
List<PushPromise> |
MockResponse.getPushPromises()
Returns the streams the server will push with this response.
|
Modifier and Type | Method and Description |
---|---|
MockResponse |
MockResponse.withPush(PushPromise promise)
When
protocols include Protocol.HTTP_2, this attaches a pushed stream to this response. |
Copyright © 2019. All rights reserved.