- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 42 for useHttps (0.15 sec)
-
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
fun wsScheme() { assumeNotWindows() websocketScheme("ws") } @Test fun wsUppercaseScheme() { websocketScheme("WS") } @Test fun wssScheme() { webServer.useHttps(handshakeCertificates.sslSocketFactory()) client = client.newBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
mockwebserver-deprecated/api/mockwebserver.api
public final fun toProxyAddress ()Ljava/net/Proxy; public fun toString ()Ljava/lang/String; public final fun url (Ljava/lang/String;)Lokhttp3/HttpUrl; public final fun useHttps (Ljavax/net/ssl/SSLSocketFactory;Z)V } public final class okhttp3/mockwebserver/MockWebServer$Companion { } public final class okhttp3/mockwebserver/PushPromise {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 10.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
handshakeCertificates.trustManager, ) .hostnameVerifier(RecordingHostnameVerifier()) .protocols(protocols.toList()) .build() server.useHttps(handshakeCertificates.sslSocketFactory()) server.protocols = client.protocols } private fun assertConnectionReused(vararg requests: Request?) { for (i in requests.indices) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
public final fun toProxyAddress ()Ljava/net/Proxy; public fun toString ()Ljava/lang/String; public final fun url (Ljava/lang/String;)Lokhttp3/HttpUrl; public final fun useHttps (Ljavax/net/ssl/SSLSocketFactory;)V } public final class mockwebserver3/MockWebServer$Companion { } public final class mockwebserver3/PushPromise {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 03 21:59:45 UTC 2023 - 12.7K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
applicationLogs .assertLogEqual("--> GET $url") .assertLogEqual("<-- HTTP FAILED: java.net.UnknownHostException: reason") .assertNoMoreLogs() } @Test fun http2() { server.useHttps(handshakeCertificates.sslSocketFactory()) url = server.url("/") setLevel(Level.BASIC) server.enqueue(MockResponse()) val response = client.newCall(request().build()).execute()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
) .build() val serverHandshakeCertificates = HandshakeCertificates.Builder() .heldCertificate(certificate) .build() server.useHttps(serverHandshakeCertificates.sslSocketFactory()) url = server.url("/robots.txt") } /** * Test connecting to the main host then an alternative, although only subject alternative names
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
CHANGELOG.md
OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with browsers and other HTTP clients.) * New: Drop the `tunnelProxy` argument in `MockWebServer.useHttps()`. This change only impacts the OkHttp 5.x API which uses the `mockwebserver3` package. * Fix: Don't call `toDuration()` which isn't available in kotlin-stdlib 1.4. ## Version 5.0.0-alpha.8
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 18 01:31:39 UTC 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
server: MockWebServer, ) { this.server = server this.protocol = protocol platform.assumeNotOpenJSSE() if (protocol === Protocol.HTTP_2) { platform.assumeHttp2Support() server.useHttps(handshakeCertificates.sslSocketFactory()) client = clientTestRule.newClientBuilder() .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1)) .sslSocketFactory(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
""".trimMargin()) val handshakeCertificates = HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .build() val server = MockWebServer() server.useHttps(handshakeCertificates.sslSocketFactory(), false) ``` Get these strings with `HeldCertificate.certificatePem()` and `privateKeyPkcs8Pem()`.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0)