Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for newApp (0.03 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

        } else {
          // Unable to report via CloseGuard. As a last-ditch effort, send it to the logger.
          super.logCloseableLeak(message, stackTrace)
        }
      }
    
      @SuppressLint("NewApi")
      override fun isCleartextTrafficPermitted(hostname: String): Boolean =
        NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(hostname)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/middleware.md

    In der Dokumentation fΓΌr ASGI-Middlewares von Drittanbietern wird Ihnen wahrscheinlich gesagt, etwa Folgendes zu tun:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/middleware.md

    πŸ› οΈ 🚫 βœ”οΈ βš’ FastAPI βš–οΈ πŸ’ƒ πŸ‘·, πŸ“ ⚫️ ⏩ πŸ”« πŸ”Œ.
    
    🏒, πŸ”« πŸ› οΈ πŸŽ“ πŸ‘ˆ βŒ› πŸ“¨ πŸ”« πŸ“± πŸ₯‡ ❌.
    
    , 🧾 πŸ₯‰-πŸ₯³ πŸ”« πŸ› οΈ πŸ‘« πŸ”œ 🎲 πŸ’¬ πŸ‘† πŸ•³ πŸ’–:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    βœ‹οΈ FastAPI (πŸ€™ πŸ’ƒ) 🚚 πŸ™… 🌌 ⚫️ πŸ‘ˆ βš’ πŸ’­ πŸ‘ˆ πŸ”— πŸ› οΈ 🍡 πŸ’½ ❌ & πŸ›ƒ ⚠ πŸ•β€πŸ¦Ί πŸ‘· β˜‘.
    
    πŸ‘ˆ, πŸ‘† βš™οΈ `app.add_middleware()` (πŸ–Ό ⚜).
    
    ```Python
    from fastapi import FastAPI
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/middleware.md

    So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/middleware.md

    EntΓ£o, na documentaΓ§Γ£o de middlewares ASGI de terceiros, eles provavelmente dirΓ£o para vocΓͺ fazer algo como:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Wed Oct 30 20:00:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        val state = AddressState(address, taskRunner.newQueue(), policy)
        val newConnectionsNeeded: Int
    
        while (true) {
          val oldMap = this.addressStates
          val newMap = oldMap + (address to state)
          if (addressStatesUpdater.compareAndSet(this, oldMap, newMap)) {
            val oldPolicyMinimumConcurrentCalls = oldMap[address]?.policy?.minimumConcurrentCalls ?: 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. docs/es/docs/advanced/middleware.md

    Entonces, en la documentaciΓ³n de middlewares ASGI de terceros probablemente te indicarΓ‘n que hagas algo como:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/CharSource.java

       *
       * @throws IOException if an I/O error occurs while opening the stream
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      @MustBeClosed
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls.
      @IgnoreJRERequirement
      public Stream<String> lines() throws IOException {
        BufferedReader reader = openBufferedStream();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. docs/ko/docs/advanced/middlewares.md

    일반적으둜 ASGI λ―Έλ“€μ›¨μ–΄λŠ” 첫 번째 인수둜 ASGI 앱을 λ°›λŠ” ν΄λž˜μŠ€λ“€μž…λ‹ˆλ‹€.
    
    λ”°λΌμ„œ 타사 ASGI 미듀웨어 λ¬Έμ„œμ—μ„œ 일반적으둜 λ‹€μŒκ³Ό 같이 μ‚¬μš©ν•˜λ„λ‘ μ•ˆλ‚΄ν•  κ²ƒμž…λ‹ˆλ‹€.
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    ν•˜μ§€λ§Œ λ‚΄λΆ€ 미듀웨어가 μ„œλ²„ 였λ₯˜λ₯Ό μ²˜λ¦¬ν•˜κ³  μ‚¬μš©μž μ •μ˜ μ˜ˆμ™Έ μ²˜λ¦¬κΈ°κ°€ μ œλŒ€λ‘œ μž‘λ™ν•˜λ„λ‘ ν•˜λŠ” 더 κ°„λ‹¨ν•œ 방법을 μ œκ³΅ν•˜λŠ” FastAPI(μ‹€μ œλ‘œλŠ” Starlette)κ°€ μžˆμŠ΅λ‹ˆλ‹€.
    
    이λ₯Ό μœ„ν•΄ `app.add_middleware()`λ₯Ό μ‚¬μš©ν•©λ‹ˆλ‹€(CORS의 μ˜ˆμ—μ„œμ™€ 같이).
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:35:09 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        }
      }
    
      /**
       * Returns a stream over the values in this array, in order.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent stream calls
      @IgnoreJRERequirement
      public LongStream stream() {
        return Arrays.stream(array, start, end);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top