- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for setFixedLengthStreamingMode (0.14 seconds)
-
docs/changelogs/changelog_3x.md
core for both frontends. For most HTTP requests the consequences of this change will be negligible. If your application uses `HttpURLConnection.connect()`, `setFixedLengthStreamingMode()`, or `setChunkedStreamingMode()`, OkHttp will now use a async dispatcher thread to establish the HTTP connection. We don’t expect this change to have any behavior or performanceCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
server.bodyLimit = 7 * 512 * 1024 val connection = server.url("/").toUrl().openConnection() as HttpURLConnection connection.setRequestMethod("POST") connection.setDoOutput(true) connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB connection.connect() val out = connection.outputStream val data = ByteArray(1024 * 1024) var i = 0 while (i < 1024) { try {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
server.bodyLimit = 7 * 512 * 1024 val connection = server.url("/").toUrl().openConnection() as HttpURLConnection connection.requestMethod = "POST" connection.doOutput = true connection.setFixedLengthStreamingMode(1024 * 1024 * 1024) // 1 GB connection.connect() val out = connection.outputStream val data = ByteArray(1024 * 1024) var i = 0 while (i < 1024) { try {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0)