- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for link (0.12 sec)
-
okhttp/src/test/java/okhttp3/DuplexTest.kt
.method("POST", AsyncRequestBody()) .build() val call = client.newCall(request) call.execute().use { response -> val sink = (request.body as AsyncRequestBody?)!!.takeSink() sink.writeUtf8("hey\n") sink.writeUtf8("whats going on\n") sink.close() } body.awaitSuccess() } @Test fun requestBodyEndsAfterResponseBody() { enableProtocol(Protocol.HTTP_2)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 23.9K bytes - Viewed (0)