1
0
mirror of https://github.com/square/okhttp.git synced 2025-07-31 05:04:26 +03:00

Add a proper Kotlin constructor for Request (#7208)

* Add a proper Kotlin constructor for Request

This turns out to be very useful throughout our test suite.

* Dump updated API

* Fix multipleTags Kotlin conversion
This commit is contained in:
Jesse Wilson
2022-04-04 09:44:43 -04:00
committed by GitHub
parent 95c6ad9663
commit 79f50e1911
33 changed files with 1404 additions and 1531 deletions

View File

@ -49,7 +49,7 @@ class SuspendCallTest(
private var client = clientTestRule.newClientBuilder().build()
val request = Request.Builder().url(server.url("/")).build()
val request = Request(server.url("/"))
@Test
fun suspendCall() {