Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 2,003 for clientX (0.04 seconds)

  1. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be playin' and havin' fun",
            "tags": ["breater"],
        }
    
    
    client = TestClient(app)
    
    
    def test_annotations():
        response = client.get("/item")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "id": IsUUID(),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

    import okhttp3.mockwebserver.RecordedRequest;
    import okio.ByteString;
    
    /**
     * Runs a MockWebServer on localhost and uses it as the backend to receive an OAuth session.
     *
     * <p>Clients should call {@link #start}, {@link #newAuthorizeUrl} and {@link #close} in that order.
     * Clients may request multiple sessions.
     */
    public final class OAuthSessionFactory extends Dispatcher implements Closeable {
      private final SecureRandom secureRandom = new SecureRandom();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
  3. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .build()
        val client =
          HandshakeCertificates
            .Builder()
            .addTrustedCertificate(serverRoot.certificate)
            .heldCertificate(clientCertificate, clientIntermediate.certificate)
            .build()
        val serverAddress = startTlsServer()
        val serverHandshakeFuture = doServerHandshake(server)
        val clientHandshakeFuture = doClientHandshake(client, serverAddress)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 08:16:15 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/request-form-models.md

    ///
    
    Puedes usar la configuración del modelo de Pydantic para `forbid` cualquier campo `extra`:
    
    {* ../../docs_src/request_form_models/tutorial002_an_py310.py hl[12] *}
    
    Si un cliente intenta enviar datos extra, recibirá un response de **error**.
    
    Por ejemplo, si el cliente intenta enviar los campos de formulario:
    
    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        }
        server2.close()
      }
    
      @Test
      fun recordedBodyIsNullForGetRequests() {
        server.enqueue(MockResponse())
        val client = OkHttpClient()
        val request =
          Request(
            url = server.url("/"),
          )
        client.newCall(request).execute().use { response ->
          assertThat(response.body.string()).isEqualTo("")
        }
        val recordedRequest = server.takeRequest()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Aug 03 22:38:00 GMT 2025
    - 28K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

        }
    
        /**
         * Sets the client computer name.
         *
         * @param clientComputerName the client computer name
         */
        public void setClientComputerName(String clientComputerName) {
            this.clientComputerName = clientComputerName;
        }
    
        /**
         * Gets the client computer name.
         *
         * @return the client computer name
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/ComponentUtil.java

        }
    
        /**
         * Gets the crawler client factory component.
         * @return The crawler client factory.
         */
        public static CrawlerClientFactory getCrawlerClientFactory() {
            return getComponent(CrawlerClientFactory.class);
        }
    
        /**
         * Gets the crawler client creator component.
         * @return The crawler client creator.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  8. 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
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  9. docs/features/events.md

        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    System.out.println("REQUEST 2 (pooled connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        val pool = factory.newConnectionPool()
        val poolApi = ConnectionPool(pool)
        val c1 = factory.newConnection(pool, routeA1, 50L)
        val client =
          OkHttpClient
            .Builder()
            .connectionPool(poolApi)
            .build()
        val call = client.newCall(Request(addressA.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top