- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,948 for clientX (0.16 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* authentication is optional. * * To perform client authentication: * * * The client's handshake certificates must have a [held certificate][HeldCertificate] (a * certificate and its private key). The client must also have a (possibly-empty) chain of * intermediate certificates to establish trust from a root certificate to the client's
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.5K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
import mockwebserver3.MockWebServer import org.apache.hc.client5.http.classic.methods.HttpGet import org.apache.hc.client5.http.impl.classic.HttpClients import org.apache.hc.core5.http.io.entity.EntityUtils import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test /** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html *
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/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
.build(), ) val client1 = client.newBuilder() .readTimeout(Duration.ofSeconds(2)) .build() val call1 = client1 .newCall( Request.Builder() .url(server.url("/")) .build(), ) val client2 = client.newBuilder() .readTimeout(Duration.ofMillis(200)) .build()
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/recipes.md
.build(); try (Response response = client1.newCall(request).execute()) { System.out.println("Response 1 succeeded: " + response); } catch (IOException e) { System.out.println("Response 1 failed: " + e); } // Copy to customize OkHttp for this request. OkHttpClient client2 = client.newBuilder() .readTimeout(3000, TimeUnit.MILLISECONDS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Feb 18 08:52:22 UTC 2022 - 40.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt
call: Call, e: IOException, ) { fail("") } }, ) val client2 = client.newBuilder() .eventListenerFactory(clientTestRule.wrap(request2Listener)) .build() val call2 = client2.newCall(request) val response = call2.execute() assert200Http2Response(response, "san.com") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 18.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/sql-databases.md
Agora criamos um modelo `HeroCreate`, este é o que **validará** os dados dos clientes. Ele tem os mesmos campos que `HeroBase`, e também tem `secret_name`. Agora, quando os clientes **criarem um novo hero**, eles enviarão o `secret_name`, ele será armazenado no banco de dados, mas esses nomes secretos não serão retornados na API para os clientes. /// tip | Dica
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 15:25:29 UTC 2024 - 15.8K bytes - Viewed (0) -
okhttp-tls/README.md
.build(); ``` Client Authentication --------------------- The above scenario is representative of most TLS set ups: the client uses certificates to validate the identity of a server. The converse is also possible. Here we create a server that authenticates a client and a client that authenticates a server. ```java // Create the root for client and server to trust. We could also use different roots for each!
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 17 15:34:10 UTC 2023 - 9.1K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
if i.clients == nil { i.clients = make(map[string]kube.CLIClient) } if i.clients[rev] == nil { client, err := newKubeClientWithRevision(*i.kubeconfig, *i.configContext, rev, i.getImpersonateConfig()) if err != nil { return nil, err } i.clients[rev] = client } return i.clients[rev], nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
tests/test_swagger_ui_init_oauth.py
from fastapi.testclient import TestClient swagger_ui_init_oauth = {"clientId": "the-foo-clients", "appName": "The Predendapp"} app = FastAPI(swagger_ui_init_oauth=swagger_ui_init_oauth) @app.get("/items/") async def read_items(): return {"id": "foo"} client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 09 10:54:05 UTC 2020 - 718 bytes - Viewed (0) -
docs/pt/docs/advanced/websockets.md
* Abrar o aplicativo com várias abas do navegador. * Escreva mensagens a partir delas. * Então feche uma das abas. Isso levantará a exceção `WebSocketDisconnect`, e todos os outros clientes receberão uma mensagem como: ``` Client #1596980209979 left the chat ``` /// tip | Dica O app acima é um exemplo mínimo e simples para demonstrar como lidar e transmitir mensagens para várias conexões WebSocket.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Oct 31 12:20:59 UTC 2024 - 5.7K bytes - Viewed (0)