- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for Neal (0.16 sec)
-
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test /** * Integration test to confirm that [TaskRunner] works with a real backend. Business logic is all * exercised by [TaskRunnerTest]. * * This test is doing real sleeping with tolerances of 250 ms. Hopefully that's enough for even the * busiest of CI servers. */ @Tag("Slowish") class TaskRunnerRealBackendTest {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
mkdocs.yml
palette: - media: "(prefers-color-scheme: light)" scheme: default primary: teal accent: blue toggle: icon: octicons/sun-24 name: "Switch to Dark Mode" - media: "(prefers-color-scheme: dark)" scheme: slate primary: teal accent: blue toggle: icon: octicons/moon-24 name: "Switch to Light Mode" features:
Others - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Nov 20 15:26:12 GMT 2023 - 3.8K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
public synchronized void awaitAccessToken(Timeout timeout) throws InterruptedIOException { while (session == null) { timeout.waitUntilNotified(this); } } /** Starts a real time messaging session. */ public void startRtm() throws IOException { String accessToken; synchronized (this) { accessToken = session.access_token; }
Java - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 12 03:31:36 GMT 2019 - 3.4K bytes - Viewed (0) -
docs/features/caching.md
Caching ======= OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and server behaviour when ambiguous. # Basic Usage ```kotlin private val client: OkHttpClient = OkHttpClient.Builder() .cache(Cache( directory = File(application.cacheDir, "http_cache"), // $0.05 worth of phone storage in 2020
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.1K bytes - Viewed (0) -
docs/contribute/code_of_conduct.md
emailing [******@****.***][codeofconduct_at]. All reports will be handled with discretion. In your report please include: * Your contact information. * Names (real, nicknames, or pseudonyms) of any individuals involved. If there are additional witnesses, please include them as well. * Your account of what occurred, and if you believe the incident is ongoing. If there is a publicly
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 5.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
fun networkInterceptorThrowsRuntimeExceptionSynchronous() { interceptorThrowsRuntimeExceptionSynchronous(true) } /** * When an interceptor throws an unexpected exception, synchronous callers can catch it and deal * with it. */ private fun interceptorThrowsRuntimeExceptionSynchronous(network: Boolean) { addInterceptor(network) { chain: Interceptor.Chain? -> throw RuntimeException("boom!") } val request =
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 27.8K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
* **OkHttpClient now implements the new `Call.Factory` interface.** This interface will make your code easier to test. When you test code that makes HTTP requests, you can use this interface to replace the real `OkHttpClient` with your own mocks or fakes. The interface will also let you use OkHttp's API with another HTTP client's implementation. This is useful in sandboxed environments like Google App
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt
) : DelegatingSocketFactory(getDefault()) { private val hostMapping = mutableMapOf<InetAddress, InetSocketAddress>() /** Sets the [real] address for [requested]. */ operator fun set( requested: InetAddress, real: InetSocketAddress, ) { hostMapping[requested] = real } override fun createSocket(): Socket { return object : Socket() { override fun connect( endpoint: SocketAddress?,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.7K bytes - Viewed (0) -
docs/features/interceptors.md
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 8.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
* fit comfortably within a single ethernet packet (1500 bytes) even with framing overhead. * * For tests this must be big enough to realize real compression on test messages like * 'aaaaaaaaaa...'. Our tests check if compression was applied just by looking at the size if * the inbound buffer. */ const val DEFAULT_MINIMUM_DEFLATE_SIZE = 1024L }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0)