- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for trigger (0.23 sec)
-
docs/changelogs/changelog_2x.md
## Version 2.4.0 _2015-05-22_ * **Forbid response bodies on HTTP 204 and 205 responses.** Webservers that return such malformed responses will now trigger a `ProtocolException` in the client. * **WebSocketListener has incompatible changes.** The `onOpen()` method is now called on the reader thread, so implementations must return before further
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
permitted. For example, a listener may receive `responseHeadersStart()` followed by `requestBodyEnd()`, both on the same call. Such events may be triggered by different threads even for a single call. Interceptors that rewrite or replace the request body may now inadvertently interfere with
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/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
} // Cause the rebuild action to fail. filesystem.setFaultyRename( cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, true, ) taskFaker.runNextTask() // Trigger a job to trim the cache. cache.maxSize = 4 taskFaker.runNextTask() assertAbsent("a") assertValue("b", "bb", "bb") } @ParameterizedTest
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) -
settings.gradle.kts
include(":okhttp-android") include(":android-test") include(":android-test-app") } enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") /** * Avoid a crash in IntelliJ triggered by Android submodules. * * ``` * java.lang.AssertionError: Can't find built-in class kotlin.Cloneable * at org.jetbrains.kotlin.builtins.KotlinBuiltIns.getBuiltInClassByFqName(KotlinBuiltIns.java:217)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Apr 14 14:24:05 GMT 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
* * Many methods in this API are **synchronous:** the call is completed before the method returns. * This is typical for Java but atypical for HTTP/2. This is motivated by exception transparency: * an [IOException] that was triggered by a certain caller can be caught and handled by that caller. */ @Suppress("NAME_SHADOWING") class Http2Connection internal constructor(builder: Builder) : Closeable { internal val lock: ReentrantLock = ReentrantLock()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 32.6K bytes - Viewed (0) -
CHANGELOG.md
module in 2018. We are confident in its stable API and solid implementation. * Fix: Work around a crash in Android 10 and 11 that may be triggered when two threads concurrently close an SSL socket. This would have appeared in crash logs as `NullPointerException: bio == null`. * Fix: Use plus `+` instead of `%20` to encode space characters in `FormBody`. This was a
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) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt
*/ package mockwebserver3.internal import okio.Buffer import okio.Sink /** * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all * subsequent bytes. */ internal class TriggerSink( private val delegate: Sink, private val triggerByteCount: Long, private val trigger: () -> Unit, ) : Sink by delegate { private var bytesWritten = 0L override fun write(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
open fun callFailed( call: Call, ioe: IOException, ) { } /** * Invoked when a call is canceled. * * Like all methods in this interface, this is invoked on the thread that triggered the event. But * while other events occur sequentially; cancels may occur concurrently with other events. For * example, thread A may be executing [responseBodyStart] while thread B executes [canceled].
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/WebSocket.kt
* message. * * This method returns true if the message was enqueued. Messages that would overflow the outgoing * message buffer will be rejected and trigger a [graceful shutdown][close] of this web socket. * This method returns false in that case, and in any other case where this web socket is closing, * closed, or canceled. * * This method returns immediately. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
.github/workflows/build.yml
run: | echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules sudo udevadm control --reload-rules sudo udevadm trigger --name-match=kvm - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 - name: Gradle cache run: ./gradlew -PandroidBuild=true :okhttp-android:test
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)