- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for loads (0.13 sec)
-
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
internal const val DEFAULT_TIMEOUT = -1 private fun versionString(): String? { val prop = Properties() Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use { prop.load(it) } return prop.getProperty("version", "dev") } private fun createInsecureTrustManager(): X509TrustManager = object : X509TrustManager { override fun checkClientTrusted(
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 (1) -
okhttp/src/main/kotlin/okhttp3/CookieJar.kt
* includes a trailer. For this obscure HTTP feature, [cookies] contains only the trailer's * cookies. */ fun saveFromResponse( url: HttpUrl, cookies: List<Cookie>, ) /** * Load cookies from the jar for an HTTP request to [url]. This method returns a possibly * empty list of cookies for the network request. * * Simple implementations will return the accepted cookies that have not yet expired and that
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt
WebPlatformUrlTest::class.java.getResourceAsStream( "/web-platform-test-urltestdata.txt", ) val source = resourceAsStream.source().buffer() return WebPlatformUrlTestData.load(source) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiData.kt
@Serializable class WebPlatformToAsciiData { var input: String? = null var output: String? = null var comment: String? = null override fun toString() = "input=$input output=$output" companion object { fun load(): List<WebPlatformToAsciiData> { val path = okHttpRoot / "okhttp/src/test/resources/web-platform-test-toascii.json" return SYSTEM_FILE_SYSTEM.read(path) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
} catch (e: Exception) { AndroidLog.androidLog( loggerName = OkHttpClient::class.java.name, logLevel = Platform.WARN, message = "unable to load android socket classes", t = e, ) null } } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
settings.gradle.kts
project(":okhttp-logging-interceptor").name = "logging-interceptor" val androidHome = System.getenv("ANDROID_HOME") val localProperties = Properties().apply { val file = File("local.properties") if (file.exists()) { load(file.inputStream()) } } val sdkDir = localProperties.getProperty("sdk.dir") if ((androidHome != null || sdkDir != null) && !isKnownBrokenIntelliJ()) { include(":okhttp-android") include(":android-test")
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/test/java/okhttp3/WebPlatformUrlTestData.kt
else -> throw IllegalArgumentException("unexpected attribute: $value") } } override fun toString(): String = format("Parsing: <%s> against <%s>", input!!, base!!) companion object { fun load(source: BufferedSource): List<WebPlatformUrlTestData> { val list = mutableListOf<WebPlatformUrlTestData>() while (true) { val line = source.readUtf8Line() ?: break
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.7K bytes - Viewed (0) -
README.md
OkHttp ====== See the [project website][okhttp] for documentation and APIs. HTTP is the way modern applications network. It’s how we exchange data & media. Doing HTTP efficiently makes your stuff load faster and saves bandwidth. OkHttp is an HTTP client that’s efficient by default: * HTTP/2 support allows all requests to the same host to share a socket. * Connection pooling reduces request latency (if HTTP/2 isn’t available).
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/WebPlatformToAsciiTest.kt
// OkHttp doesn't implement CheckJoiners. "\u200D.example", // OkHttp doesn't implement CheckBidi. "يa", ) @Test fun test() { val list = WebPlatformToAsciiData.load() val failures = mutableListOf<Throwable>() for (entry in list) { var failure: Throwable? = null try { testToAscii(entry.input!!, entry.output, entry.comment) } catch (e: Throwable) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
return KeyStore.getInstance(keyStoreType ?: KeyStore.getDefaultType()).apply { val inputStream: InputStream? = null // By convention, 'null' creates an empty key store. load(inputStream, password) } }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0)