- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for Publish (0.24 sec)
-
docs/changelogs/changelog_4x.md
## Version 4.4.0 _2020-02-17_ * New: Support `canceled()` as an event that can be observed by `EventListener`. This should be useful for splitting out canceled calls in metrics. * New: Publish a [bill of materials (BOM)][bom] for OkHttp. Depend on this from Gradle or Maven to keep all of your OkHttp artifacts on the same version, even if they're declared via transitive
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
fun testLoggingLevels() { enableTls() val testHandler = object : Handler() { val calls = mutableMapOf<String, AtomicInteger>() override fun publish(record: LogRecord) { calls.getOrPut(record.loggerName) { AtomicInteger(0) } .incrementAndGet() } override fun flush() { } override fun close() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 27K bytes - Viewed (1) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
).joinToString(separator = "|"), ) append(").*") }, ) private val testLogHandler = object : Handler() { override fun publish(record: LogRecord) { val recorded = when (record.loggerName) { TaskRunner::class.java.name -> recordTaskRunner Http2::class.java.name -> recordFrames
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
) : EventListener() { var random: String? = null lateinit var currentThread: Thread private val loggerHandler = object : Handler() { override fun publish(record: LogRecord) { // Try to avoid multi threading issues with concurrent requests if (Thread.currentThread() != currentThread) { return }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
return try { reader!!.processNextFrame() receivedCloseCode == -1 } catch (e: Exception) { failWebSocket(e = e) false } } /** * Clean up and publish necessary close events when the reader is done. Invoked only by the reader * thread. */ fun finishReader() { val failed: Boolean val code: Int val reason: String?
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
CHANGELOG.md
`okhttp3` package name with our core module, which is incompatible with the Java Platform Module System. * Fix in okhttp-coroutines: Publish a valid artifact. The coroutines JAR file in 5.0.0-alpha.13 was corrupt and should not be used. ## Version 5.0.0-alpha.13 _2024-04-16_
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
.github/workflows/build.yml
- name: Publish Test Report if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master' uses: mikepenz/action-junit-report@v4 with: report_paths: '**/build/test-results/*/TEST-*.xml' check_name: OpenJDK 11 Test Report - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action@v2
Others - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 01:51:50 GMT 2024 - 17.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* CLEAN or REMOVE indicate that temporary files may need to be deleted. * * o CLEAN lines track a cache entry that has been successfully published and may be read. A * publish line is followed by the lengths of each of its values. * * o READ lines track accesses for LRU. * * o REMOVE lines track entries that have been deleted. *
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-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
.matches(Regex(prefix.pattern + regex.pattern, RegexOption.DOT_MATCHES_ALL)) } fun assertNoMoreLogs() { assertThat(logs.size, "More messages remain: ${logs.subList(index, logs.size)}") .isEqualTo(index) } override fun log(message: String) { logs.add(message) } } companion object {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 37.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
connection.set(chain!!.connection()) chain.proceed(chain.request()) }, ) .build() dns["san.com"] = Dns.SYSTEM.lookup(server.hostName).subList(0, 1) assert200Http2Response(execute(url), server.hostName) // Simulate a stale connection in the pool. connection.get()!!.socket().close() val sanUrl = url.newBuilder().host("san.com").build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 18.7K bytes - Viewed (0)