Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 1,851 for fluent (0.05 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

        val request =
          Request
            .Builder()
            .header("Authorization", "Client-ID $IMGUR_CLIENT_ID")
            .url("https://api.imgur.com/3/image")
            .post(ProgressRequestBody(requestBody, progressListener))
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/dependencies/dependencies-with-yield.md

    ```mermaid
    sequenceDiagram
    
    participant client as Cliente
    participant handler as Manipulador de exceções
    participant dep as Dep com yield
    participant operation as Operação de Rota
    participant tasks as Tarefas de Background
    
        Note over client,operation: pode lançar exceções, incluindo HTTPException
        client ->> dep: Iniciar requisição
        Note over dep: Executar código até o yield
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      val eventRecorder = EventRecorder()
    
      @BeforeEach
      fun setUp() {
        if (connectionType == H2) {
          platform.assumeHttp2Support()
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            return ComponentUtil.getFessConfig().isRateLimitEnabled();
        }
    
        /**
         * Get the client IP address from the request, considering proxy headers.
         * Only trusts X-Forwarded-For/X-Real-IP headers when the request comes from a trusted proxy.
         * @param request the HTTP request
         * @return the client IP address
         */
        public String getClientIp(final HttpServletRequest request) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. tests/test_response_change_status_code.py

        return result
    
    
    @app.get("/", dependencies=[Depends(parent_dep)])
    async def get_main():
        return {"msg": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.get("/")
        assert response.status_code == 201, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 589 bytes
    - Click Count (0)
  6. tests/test_stringified_annotations_simple.py

            return "test"
    
    
    @needs_py310
    def test_stringified_annotations():
        app = FastAPI()
    
        client = TestClient(app)
    
        @app.get("/test/")
        def call(test: Annotated[str, Depends(Dep())]):
            return {"test": test}
    
        response = client.get("/test")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 545 bytes
    - Click Count (0)
  7. docs/bigdata/README.md

    - Navigate to a node with the Spark client and access the spark2-client directory:
    
    ```
    cd /usr/hdp/current/spark2-client
    su spark
    ```
    
    - Run the Apache Spark Pi job in yarn-client mode, using code from **org.apache.spark**:
    
    ```
    ./bin/spark-submit --class org.apache.spark.examples.SparkPi \
        --master yarn-client \
        --num-executors 1 \
        --driver-memory 512m \
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/witness/WitnessClient.java

        }
    
        /**
         * Creates a new witness client with a custom RPC client (for testing).
         *
         * @param witnessServer the witness server address
         * @param context the CIFS context
         * @param rpcClient the RPC client to use
         */
        protected WitnessClient(InetAddress witnessServer, CIFSContext context, WitnessRpcClient rpcClient) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/server-sent-events.md

    # Server-Sent Events (SSE) { #server-sent-events-sse }
    
    Sie können Daten mithilfe von **Server-Sent Events** (SSE) an den Client streamen.
    
    Das ist ähnlich wie [JSON Lines streamen](stream-json-lines.md), verwendet aber das Format `text/event-stream`, das von Browsern nativ mit der [die `EventSource`-API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) unterstützt wird.
    
    /// info | Info
    
    Hinzugefügt in FastAPI 0.135.0.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/server-sent-events.md

    # Server-Sent Events (SSE) { #server-sent-events-sse }
    
    You can stream data to the client using **Server-Sent Events** (SSE).
    
    This is similar to [Stream JSON Lines](stream-json-lines.md), but uses the `text/event-stream` format, which is supported natively by browsers with the [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
    
    /// info
    
    Added in FastAPI 0.135.0.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top