mockwebserver / okhttp3.mockwebserver / MockResponse / withSettings

withSettings

fun withSettings(settings: Settings): MockResponse

When protocols include HTTP_2, this pushes settings before writing the response.