- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 85 for provides (0.15 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
try { val provider = Proxy.getInvocationHandler(getMethod.invoke(null, sslSocket)) as AlpnProvider if (!provider.unsupported && provider.selected == null) { log("ALPN callback dropped: HTTP/2 is disabled. " + "Is alpn-boot on the boot class path?") return null } return if (provider.unsupported) null else provider.selected } catch (e: InvocationTargetException) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
.cache(dnsCache) .build() dnsProviders = providers( client = bootstrapClient, http2Only = true, workingOnly = true, getOnly = true, ) runBatch(dnsProviders, names) println("cached second run\n*****************\n") dnsProviders = providers( client = bootstrapClient, http2Only = true, workingOnly = true,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0) -
mkdocs.yml
'r8_proguard.md': 'features/r8_proguard.md' # Redirect all Security pages to security/* 'security.md': 'security/security.md' 'security_providers.md': 'security/security_providers.md' 'tls_configuration_history.md': 'security/tls_configuration_history.md' # Redirect all changelog pages to changelog/* 'changelog.md': 'changelogs/changelog.md'
Others - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Nov 20 15:26:12 GMT 2023 - 3.8K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt
package okhttp3.dnsoverhttps import java.net.InetAddress import java.net.UnknownHostException import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient /** * Temporary registry of known DNS over HTTPS providers. * * https://github.com/curl/curl/wiki/DNS-over-HTTPS */ object DohProviders { private fun buildGoogle(bootstrapClient: OkHttpClient): DnsOverHttps { return DnsOverHttps.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Dec 23 10:26:25 GMT 2023 - 3.8K bytes - Viewed (3) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt
return proxiesOrNull.toImmutableList() } connectionUser.proxySelectStart(url) proxies = selectProxies() nextProxyIndex = 0 connectionUser.proxySelectEnd(url, proxies) } /** Returns true if there's another proxy to try. */ private fun hasNextProxy(): Boolean = nextProxyIndex < proxies.size /** Returns the next proxy to try. May be PROXY.NO_PROXY but never null. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt
} override fun proxySelectStart(url: HttpUrl) { eventListener.proxySelectStart(call, url) } override fun proxySelectEnd( url: HttpUrl, proxies: List<Proxy>, ) { eventListener.proxySelectEnd(call, url, proxies) } override fun dnsStart(socketHost: String) { eventListener.dnsStart(call, socketHost) } override fun dnsEnd( socketHost: String,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt
} catch (ignored: IOException) { // Skip this path. } } return result.toTypedArray<String>() } /** * Reads stories named "story_xx.json" from the folder provided. */ fun readStories(testFolderName: String): List<Story> { val result = mutableListOf<Story>() var i = 0 while (true) { // break after last test. val storyResourceName = String.format(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Handshake.kt
@get:JvmName("cipherSuite") val cipherSuite: CipherSuite, /** Returns a possibly-empty list of certificates that identify this peer. */ @get:JvmName("localCertificates") val localCertificates: List<Certificate>, // Delayed provider of peerCertificates, to allow lazy cleaning. peerCertificatesFn: () -> List<Certificate>, ) { /** Returns a possibly-empty list of certificates that identify the remote peer. */ @get:JvmName("peerCertificates")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** Test how HTTP/2 interacts with HTTP features. */ @Timeout(60) @Flaky @Tag("Slow") class HttpOverHttp2Test { class ProtocolParamProvider : SimpleProvider() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* | `http://[::1]/` | `"::1"` | * | `http://xn--n3h.net/` | `"xn--n3h.net"` | */ @get:JvmName("host") val host: String, /** * The explicitly-specified port if one was provided, or the default port for this URL's scheme. * For example, this returns 8443 for `https://square.com:8443/` and 443 for * `https://square.com/`. The result is in `[1..65535]`. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1)