Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,321 for clientX (0.61 sec)

  1. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    import mockwebserver3.junit5.StartStop
    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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Oct 27 15:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

         * @param clientMap The map of clients.
         */
        public void setClientMap(final Map<Pattern, CrawlerClient> clientMap) {
            this.clientMap = clientMap;
        }
    
        /**
         * Closes all clients in the factory.
         */
        @Override
        public void close() {
            clientMap.values().stream().distinct().forEach(client -> {
                try {
                    client.close();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/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()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  8. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. samples/tlssurvey/src/main/kotlin/okhttp3/survey/RunSurvey.kt

        )
    
      val orderBy = okhttp.enabled + chrome80.enabled + safari12Osx.enabled + rest(clients)
      val survey = CipherSuiteSurvey(clients = clients, ianaSuites = ianaSuitesNew, orderBy = orderBy)
    
      survey.printGoogleSheet()
    }
    
    fun rest(clients: List<Client>): List<SuiteId> {
      // combine all ciphers to get these near the top
      return clients.flatMap { it.enabled }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

        /**
         * Adds a list of clients to the wrapped factory.
         * @param regexList The list of regular expressions for the clients.
         * @param client The CrawlerClient instance.
         */
        @Override
        public void addClient(final List<String> regexList, final CrawlerClient client) {
            factory.addClient(regexList, client);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top