- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 940 for Servern (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
private val handshakeCertificates = platform.localhostHandshakeCertificates() @StartStop private val server = MockWebServer() @Test fun legalToExecuteTwiceCloning() { server.enqueue(MockResponse(body = "abc")) server.enqueue(MockResponse(body = "def")) val request = Request(server.url("/")) val call = client.newCall(request) val response1 = call.execute() val cloned = call.clone()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
class InterceptorTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop private val server = MockWebServer() private var client = clientTestRule.newClient() private val callback = RecordingCallback() @Test fun applicationInterceptorsCanShortCircuitResponses() { server.close() // Accept no connections. val request = Request .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
requestWithPath.setFullUNCPath(domain, server, fullPath); verify(requestWithPath, times(1)).setFullUNCPath(domain, server, fullPath); // Test with implementation testImplementation.setFullUNCPath(domain, server, fullPath); assertEquals(domain, testImplementation.getDomain()); assertEquals(server, testImplementation.getServer());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
) } private fun WebSocketExtensions.isValid(): Boolean { // If the server returned parameters we don't understand, fail the web socket. if (unknownValues) return false // If the server returned a value for client_max_window_bits, fail the web socket. if (clientMaxWindowBits != null) return false // If the server returned an illegal server_max_window_bits, fail the web socket.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
).build() server.useHttps(serverHandshakeCertificates.sslSocketFactory()) server.enqueue(MockResponse()) // Make a request from client to server. It should succeed certificate checks (unfortunately the // rogue CA is trusted) but it should fail certificate pinning. val request = Request .Builder() .url(server.url("/")) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt
.Builder() .heldCertificate(heldCertificate) .build() server.useHttps(serverCertificates.sslSocketFactory()) server.enqueue(MockResponse()) val clientCertificates = HandshakeCertificates .Builder() .addPlatformTrustedCertificates() .addInsecureHost(server.hostName) .build() val client = clientTestRule
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
val callB = client.newCall(Request(server.url("/"))) callB.execute().use { response -> assertThat(response.body.string()).isEqualTo("abc") } } private fun makeSimpleCall() { server.enqueue(MockResponse(body = "healthy")) val callB = client.newCall(Request(server.url("/"))) callB.execute().use { response ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
void testConstructor_NullServer() throws IOException { // Test case: Constructor with null server, should default to "\\\\" String server = null; int access = 123; doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) { assertNotNull(handle);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
By default, those files are served from a <abbr title="Content Delivery Network: A service, normally composed of several servers, that provides static files, like JavaScript and CSS. It's commonly used to serve those files from the server closer to the client, improving performance.">CDN</abbr>. But it's possible to customize it, you can set a specific CDN, or serve the files yourself.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0)