- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,036 for Client (0.07 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt
val reversed = ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.reversed() val client = makeClient( ConnectionSpec.COMPATIBLE_TLS, TlsVersion.TLS_1_2, reversed, ) makeRequest(client) val expectedConnectionCipherSuites = expectedConnectionCipherSuites(client) // Will choose a poor cipher suite but not plaintext.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Sep 16 07:21:43 UTC 2025 - 11.4K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt
print("name") for (client in clients) { print("\t") print(client.nameAndVersion) } println() val sortedSuites = ianaSuites.suites.sortedBy { ianaSuite -> val index = orderBy.indexOfFirst { it.matches(ianaSuite) } if (index == -1) Integer.MAX_VALUE else index } for (suiteId in sortedSuites) { print(suiteId.name) for (client in clients) { print("\t")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Apr 02 01:44:15 UTC 2024 - 1.6K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
@StartStop private val server = MockWebServer() @BeforeEach fun setUp() { client.start() } @AfterEach fun tearDown() { client.stop() } @Test fun get() { server.enqueue(MockResponse(body = "hello, Jetty HTTP Client")) val request = client .newRequest(server.url("/").toUri()) .header("Accept", "text/plain") val response = request.send()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
client.processNextFrame() // Read server close, send client close, close connection. assertThat(client.closed).isFalse() client.listener.assertClosing(1000, "Hello!") client.webSocket!!.finishReader() client.webSocket!!.close(1000, "Hello!") server.processNextFrame() server.listener.assertClosing(1000, "Hello!") server.webSocket!!.finishReader() client.listener.assertClosed(1000, "Hello!")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial001.py
@pytest.fixture( name="client", params=[ "tutorial001_py39", pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body.{request.param}") client = TestClient(mod.app) return client def test_body_float(client: TestClient):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 10.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
final FaultTolerantClient client = new FaultTolerantClient(); final TestClient testClient = new TestClient(); final TestListener testListener = new TestListener(); client.setCrawlerClient(testClient); client.setRequestListener(testListener); final String url = "http://test.com/";
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 15.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java
url = "smb1:/home/hoge"; client = clientFactory.getClient(url); assertNotNull(client); assertTrue(client instanceof org.codelibs.fess.crawler.client.smb1.SmbClient); url = "ftp:/home/hoge"; client = clientFactory.getClient(url); assertNotNull(client); assertTrue(client instanceof FtpClient); url = "storage:/home/hoge"; client = clientFactory.getClient(url);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 5.3K bytes - Viewed (0) -
tests/test_request_params/test_cookie/test_optional_str.py
def test_optional_str_missing(path: str): client = TestClient(app) response = client.get(path) assert response.status_code == 200 assert response.json() == {"p": None} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str(path: str): client = TestClient(app) client.cookies.set("p", "hello") response = client.get(path)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * Property {@code jcifs.smb.client.capabilities} (int) * * @return custom capabilities */ int getCapabilities(); /** * * * Property {@code jcifs.smb.client.flags2} (int) * * @return custom flags2 */ int getFlags2(); /** * * Property {@code jcifs.smb.client.ssnLimit} (int, 250) *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003.py
client = TestClient(mod.app) return client def test_login(client: TestClient): response = client.post("/token", data={"username": "johndoe", "password": "secret"}) assert response.status_code == 200, response.text assert response.json() == {"access_token": "johndoe", "token_type": "bearer"} def test_login_incorrect_password(client: TestClient): response = client.post(Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.7K bytes - Viewed (0)