- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 189 for fromJS (0.23 sec)
-
okhttp/src/main/kotlin/okhttp3/EventListener.kt
) { } /** * Invoked when a response will be served from the network. The Response will be * available from normal event sequences. * * This event will only be received when a Cache is configured for the client. */ open fun cacheMiss(call: Call) { } /** * Invoked when a response will be served from the cache or network based on validating the
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/build.gradle.kts
id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } // Build & use okhttp3/internal/-InternalVersion.kt val copyKotlinTemplates = tasks.register<Copy>("copyKotlinTemplates") { from("src/main/kotlinTemplates") into("$buildDir/generated/sources/kotlinTemplates") expand("projectVersion" to project.version) filteringCharset = Charsets.UTF_8.toString() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* that [get] was called. Updates and removals after the call do not impact ongoing reads. * * This class is tolerant of some I/O errors. If files are missing from the filesystem, the * corresponding entries will be dropped from the cache. If an error occurs while writing a cache * value, the edit will fail silently. Callers should handle other problems by catching * `IOException` and responding appropriately. *
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/Http2.kt
import okio.ByteString.Companion.encodeUtf8 object Http2 { @JvmField val CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".encodeUtf8() /** The initial max frame size, applied independently writing to, or reading from the peer. */ const val INITIAL_MAX_FRAME_SIZE = 0x4000 // 16384 const val TYPE_DATA = 0x0 const val TYPE_HEADERS = 0x1 const val TYPE_PRIORITY = 0x2 const val TYPE_RST_STREAM = 0x3
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
} } } /** Returns a strategy to satisfy [request] using [cacheResponse]. */ fun compute(): CacheStrategy { val candidate = computeCandidate() // We're forbidden from using the network and the cache is insufficient. if (candidate.networkRequest != null && request.cacheControl.onlyIfCached) { return CacheStrategy(null, null) } return candidate }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
} /** * Builds the Junit Test Engine for the native image. */ fun buildTestEngine(): TestEngine = JupiterTestEngine() /** * Returns a fixed set of test classes from testlist.txt, skipping any not found in the * current classpath. The IDE runs with less classes to avoid conflicting module ownership. */ fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
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) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
this.sink.trailers = trailers } } fun readTimeout(): Timeout = readTimeout fun writeTimeout(): Timeout = writeTimeout /** Returns a source that reads data from the peer. */ fun getSource(): Source = source /** * Returns a sink that can be used to write data to the peer. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
* * No further calls to this listener will be made. */ open fun onClosed(eventSource: EventSource) { } /** * Invoked when an event source has been closed due to an error reading from or writing to the * network. Incoming events may have been lost. No further calls to this listener will be made. */ open fun onFailure( eventSource: EventSource, t: Throwable?, response: Response?,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/ExperimentalOkHttpApi.kt
* conventions. Both binary and source-incompatible changes are possible, including complete removal * of the experimental API. * * Do not use these APIs in modules that may be executed using a version of OkHttp different from * the version the module was compiled with. * * Do not use these APIs in published libraries. * * Do not use these APIs if you aren't willing to track changes to them. */ @MustBeDocumented
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt
*/ package okhttp3.internal.connection import okhttp3.Route /** * A denylist of failed routes to avoid when creating a new connection to a target address. This is * used so that OkHttp can learn from its mistakes: if there was a failure attempting to connect to * a specific IP address or proxy server, that failure is remembered and alternate routes are * preferred. */ class RouteDatabase {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 1.5K bytes - Viewed (0)