mockwebserver / okhttp3.mockwebserver / MockResponse / withPush

withPush

fun withPush(promise: PushPromise): MockResponse

When protocols include HTTP_2, this attaches a pushed stream to this response.