- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 658 for okhttp3 (0.05 sec)
-
okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import okhttp3.CertificatePinner.Companion.sha1Hash import okhttp3.CertificatePinner.Pin import okhttp3.tls.HeldCertificate import okio.ByteString.Companion.decodeBase64
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt
* limitations under the License. */ package okhttp3.dnsoverhttps import java.io.File import java.net.UnknownHostException import java.security.Security import okhttp3.Cache import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.dnsoverhttps.DohProviders.providers import org.conscrypt.OpenSSLProvider private fun runBatch(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
samples/tlssurvey/build.gradle.kts
plugins { kotlin("jvm") application id("com.google.devtools.ksp").version(libs.versions.ksp) } application { mainClass.set("okhttp3.survey.RunSurveyKt") } dependencies { implementation(projects.okhttp) implementation(projects.okhttpCoroutines) implementation(libs.conscrypt.openjdk) implementation(libs.retrofit) implementation(libs.converter.moshi) implementation(libs.squareup.moshi)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jun 23 17:02:02 UTC 2024 - 545 bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
import javax.net.ssl.TrustManager import javax.net.ssl.X509KeyManager import javax.net.ssl.X509TrustManager import okhttp3.CertificatePinner import okhttp3.internal.platform.Platform import okhttp3.internal.toImmutableList import okhttp3.tls.internal.TlsUtil.newKeyManager import okhttp3.tls.internal.TlsUtil.newTrustManager /** * Certificates to identify which peers to trust and also to earn the trust of those peers in kind.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt
* limitations under the License. */ @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") package okhttp3.tls.internal import java.net.Socket import java.security.cert.CertificateException import java.security.cert.X509Certificate import javax.net.ssl.SSLEngine import javax.net.ssl.X509ExtendedTrustManager import okhttp3.internal.peerName import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.connection import java.io.IOException import okhttp3.Interceptor import okhttp3.Response import okhttp3.internal.http.RealInterceptorChain /** * Opens a connection to the target server and proceeds to the next interceptor. The network might
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/Jdk9PlatformTest.kt
* limitations under the License. */ package okhttp3.internal.platform import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import javax.net.ssl.SSLSocket import okhttp3.DelegatingSSLSocket import okhttp3.internal.platform.Jdk9Platform.Companion.buildIfSupported import okhttp3.testing.PlatformRule import org.junit.jupiter.api.Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
* See the License for the specific language governing permissions and * limitations under the License. */ @file:Suppress("ktlint:standard:filename") package okhttp3.internal import okhttp3.MediaType internal fun MediaType.commonParameter(name: String): String? { for (i in parameterNamesAndValues.indices step 2) { if (parameterNamesAndValues[i].equals(name, ignoreCase = true)) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.slack; import java.io.IOException; import java.io.InterruptedIOException; import okhttp3.HttpUrl; import okio.Timeout; /** A connection to Slack as a single user. */ public final class SlackClient { private final SlackApi slackApi;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes; import com.squareup.moshi.JsonAdapter; import com.squareup.moshi.Moshi; import java.io.IOException; import java.util.Map; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class ParseResponseWithMoshi { private final OkHttpClient client = new OkHttpClient();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.8K bytes - Viewed (0)