- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for passion (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
@SuppressLint("NewApi") @IgnoreJRERequirement // This function is overridden to require API >= 24. open fun getHandshakeServerNames(sslSocket: SSLSocket): List<String> { val session = sslSocket.session as? ExtendedSSLSession ?: return listOf() return session.requestedServerNames.mapNotNull { (it as? SNIHostName)?.asciiName } } @Throws(IOException::class) open fun connectSocket( socket: Socket,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
* dashboard to create a client ID and secret for this application. * * <p>You must configure your Slack API OAuth and Permissions page with a localhost URL like {@code * http://localhost:53203/oauth/}, passing the same port to this class’ constructor. */ public final class SlackApi { private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/"); private final OkHttpClient httpClient; private final Moshi moshi;
Java - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Jul 06 19:30:55 GMT 2018 - 4.4K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt
i++ } val groupLength = i - groupOffset if (groupLength == 0 || groupLength > 4) return null // Group is the wrong size. // We've successfully read a group. Assign its value to our byte array. address[b++] = (value.ushr(8) and 0xff).toByte() address[b++] = (value and 0xff).toByte() } // All done. If compression happened, we need to move bytes to the right place in the
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.2K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
* Fix: Read the response even if writing the request fails. This means you'll get a proper HTTP response even if the server rejects your request body. * Fix: Use literal IP addresses directly rather than passing them to `DnsOverHttps`. * Fix: Embed Proguard rules to prevent warnings from tools like DexGuard and R8. These warnings were triggered by OkHttp’s feature detection for TLS packages like `org.conscrypt`,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
// System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true") // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true") // IllegalStateException: Cannot resume session and session creation is disabled platform.assumeNotBouncyCastle() } @ParameterizedTest(name = "{displayName}({arguments})") @ValueSource(strings = ["TLSv1.2", "TLSv1.3"]) @Flaky
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt
message == "No session to resume." -> Type.Handshake message.startsWith("Consuming ") -> Type.Handshake message.startsWith("Produced ") -> Type.Handshake message.startsWith("Negotiated ") -> Type.Handshake message.startsWith("Found resumable session") -> Type.Handshake message.startsWith("Resuming session") -> Type.Handshake
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
} internal object DisabledHostnameVerifier : ConscryptHostnameVerifier { fun verify( hostname: String?, session: SSLSession?, ): Boolean { return true } override fun verify( certs: Array<out X509Certificate>?, hostname: String?, session: SSLSession?, ): Boolean { return true } }
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
call: Call, connection: Connection, ) { if (random != null) { val sslSocket = connection.socket() as SSLSocket val session = sslSocket.session val masterSecretHex = session.masterSecret?.encoded?.toByteString() ?.hex() if (masterSecretHex != null) { val keyLog = "CLIENT_RANDOM $random $masterSecretHex"
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (1) -
samples/slack/src/main/java/okhttp3/slack/RtmSession.java
*/ package okhttp3.slack; import java.io.Closeable; import java.io.IOException; import okhttp3.WebSocket; import okhttp3.Response; import okhttp3.WebSocketListener; /** A realtime messaging session. */ public final class RtmSession extends WebSocketListener implements Closeable { private final SlackApi slackApi; /** Guarded by this. */ private WebSocket webSocket; public RtmSession(SlackApi slackApi) {
Java - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Nov 19 20:16:58 GMT 2016 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
* was acquired, or null if no connection was acquired. The acquired connection will also be * given to [connectionUser] who may (for example) assign it to a [RealCall.connection]. * * This confirms the returned connection is healthy before returning it. If this encounters any * unhealthy connections in its search, this will clean them up. *
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 16.2K bytes - Viewed (0)