- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for requested (0.15 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
val call = client.newCall(Request(server.url("/"))) val response = call.execute() assertThat(response.body.string()).isEqualTo("This is the new location!") val request1 = server.takeRequest() assertThat(request1.path).isEqualTo("/") val request2 = server.takeRequest() assertThat(request2.path).isEqualTo("/foo") } @ParameterizedTest
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* New: Add the TLS version to the `Handshake`. * New: Drop `Request.uri()` and `Request#urlString()`. Just use `Request.url().uri()` and `Request.url().toString()`. * New: Add URL to HTTP response logging. * New: Make `HttpUrl` the blessed URL method of `Request`. ## Version 2.x [Change log](changelog_2x.md)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
} } /** Prepares the [request] to be executed at some point in the future. */ override fun newCall(request: Request): Call = RealCall(this, request, forWebSocket = false) /** Uses [request] to connect a new web socket. */ override fun newWebSocket( request: Request, listener: WebSocketListener, ): WebSocket { val webSocket =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
MockResponse.Builder() .socketPolicy(DisconnectDuringRequestBody) .build(), ) val request = NonCompletingRequestBody() val call = client.newCall( Request.Builder() .url(server.url("/")) .post(request) .build(), ) assertFailsWith<IOException> { call.execute() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 56.9K bytes - Viewed (0)