Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,407 for client (0.05 seconds)

  1. docs/es/docs/advanced/generate-clients.md

    ### Genera un Cliente TypeScript con tags { #generate-a-typescript-client-with-tags }
    
    Si generas un cliente para una app de FastAPI usando tags, normalmente también separará el código del cliente basándose en los tags.
    
    De esta manera podrás tener las cosas ordenadas y agrupadas correctamente para el código del cliente:
    
    <img src="/img/tutorial/generate-clients/image06.png">
    
    En este caso tienes:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

    import javax.net.ssl.SSLSocketFactory
    import okhttp3.ConnectionSpec
    import okhttp3.OkHttp
    import okhttp3.survey.types.Client
    import okhttp3.survey.types.SuiteId
    import okio.FileSystem
    import okio.Path.Companion.toPath
    import org.conscrypt.Conscrypt
    
    fun currentOkHttp(ianaSuites: IanaSuites): Client =
      Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

      }
    
      @Test fun durationDefaults() {
        val client = clientTestRule.newClient()
        assertThat(client.callTimeoutMillis).isEqualTo(0)
        assertThat(client.connectTimeoutMillis).isEqualTo(10000)
        assertThat(client.readTimeoutMillis).isEqualTo(10000)
        assertThat(client.writeTimeoutMillis).isEqualTo(10000)
        assertThat(client.pingIntervalMillis).isEqualTo(0)
        assertThat(client.webSocketCloseTimeout).isEqualTo(60_000)
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 13.4K bytes
    - Click Count (1)
  4. docs/zh/docs/advanced/generate-clients.md

    frontend-app@1.0.0 generate-client /home/user/code/frontend-app
    > openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios
    ```
    
    </div>
    
    此命令将在 `./src/client` 中生成代码,并将在其内部使用 `axios`(前端HTTP库)。
    
    ### 尝试客户端代码
    
    现在您可以导入并使用客户端代码,它可能看起来像这样,请注意,您可以为这些方法使用自动补全:
    
    <img src="/img/tutorial/generate-clients/image02.png">
    
    您还将自动补全要发送的数据:
    
    <img src="/img/tutorial/generate-clients/image03.png">
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  5. docs/pt/docs/advanced/generate-clients.md

    ### Gere um cliente TypeScript com Tags { #generate-a-typescript-client-with-tags }
    
    Se você gerar um cliente para uma aplicação FastAPI usando tags, normalmente também separará o código do cliente com base nas tags.
    
    Dessa forma, você poderá ter as coisas ordenadas e agrupadas corretamente para o código do cliente:
    
    <img src="/img/tutorial/generate-clients/image06.png">
    
    Nesse caso você tem:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/generate-clients.md

    ### Einen TypeScript-Client mit Tags generieren { #generate-a-typescript-client-with-tags }
    
    Wenn Sie einen Client für eine FastAPI-App generieren, die Tags verwendet, wird normalerweise der Client-Code auch anhand der Tags getrennt.
    
    Auf diese Weise können Sie die Dinge für den Client-Code richtig ordnen und gruppieren:
    
    <img src="/img/tutorial/generate-clients/image06.png">
    
    In diesem Fall haben Sie:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. docs/ru/docs/advanced/generate-clients.md

    ```sh
    npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client
    ```
    
    Это сгенерирует TypeScript SDK в `./src/client`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        assertThat(client.connectionPool.connectionCount()).isEqualTo(1)
      }
    
      /** Test a previously coalesced connection that's no longer healthy.  */
      @Test
      fun staleCoalescedConnection() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        val connection = AtomicReference<Connection?>()
        client =
          client
            .newBuilder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jun 19 11:44:16 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  9. 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()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  10. docs/recipes.md

        ```java
          /**
           * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
           * these examples, please request your own client ID! https://api.imgur.com/oauth2
           */
          private static final String IMGUR_CLIENT_ID = "...";
          private static final MediaType MEDIA_TYPE_PNG = MediaType.parse("image/png");
    
          private final OkHttpClient client = new OkHttpClient();
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 47.8K bytes
    - Click Count (0)
Back to Top