- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for about (0.12 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt
private val frameCallback: FrameCallback, private val perMessageDeflate: Boolean, private val noContextTakeover: Boolean, ) : Closeable { private var closed = false // Stateful data about the current frame. private var opcode = 0 private var frameLength = 0L private var isFinalFrame = false private var isControlFrame = false private var readingCompressedMessage = false
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
} /** * Configure the websocket to send pings every 500 ms. Artificially prevent the server from * responding to pings. The client should give up when attempting to send its 2nd ping, at about * 1000 ms. */ @Test fun unacknowledgedPingFailsConnection() { assumeNotWindows() client = client.newBuilder() .pingInterval(Duration.ofMillis(500)) .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws * [IllegalArgumentException] on invalid input or [toHttpUrlOrNull] returns null if the input is an * invalid URL. You can even be explicit about whether each component has been encoded already. * * [idna]: http://www.unicode.org/reports/tr46/#ToASCII */ class HttpUrl private constructor( /** Either "http" or "https". */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
super.close() editor.commit() } } } override fun abort() { synchronized(this@Cache) { if (done) return done = true writeAbortCount++ } cacheOut.closeQuietly() try { editor.abort() } catch (_: IOException) { } } override fun body(): Sink = body }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Fri Mar 22 07:09:21 GMT 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
"01234567890123456789012345678901234567890123456789" ) cache.edit(key)!!.abort() // Contains all valid characters. key = "abcdefghijklmnopqrstuvwxyz_0123456789" cache.edit(key)!!.abort() // Contains dash. key = "-20384573948576" cache.edit(key)!!.abort() } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/TestLogHandler.kt
import org.junit.rules.TestRule import org.junit.runner.Description import org.junit.runners.model.Statement /** * A log handler that records which log messages were published so that a calling test can make * assertions about them. */ class TestLogHandler( private val logger: Logger, ) : TestRule, BeforeEachCallback, AfterEachCallback { constructor(loggerName: Class<*>) : this(Logger.getLogger(loggerName.getName()))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheRequest.kt
* limitations under the License. */ package okhttp3.internal.cache import java.io.IOException import okio.Sink interface CacheRequest { @Throws(IOException::class) fun body(): Sink fun abort()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 769 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
if (success && !entry.readable) { for (i in 0 until valueCount) { if (!editor.written!![i]) { editor.abort() throw IllegalStateException("Newly created entry didn't create value for index $i") } if (!fileSystem.exists(entry.dirtyFiles[i])) { editor.abort() return } } } for (i in 0 until valueCount) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 22.5K bytes - Viewed (1)