Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for Routes (0.42 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

    import okhttp3.Response
    import okhttp3.Route
    
    class RecordingOkAuthenticator(
      val credential: String?,
      val scheme: String?,
    ) : Authenticator {
      val responses = mutableListOf<Response>()
      val routes = mutableListOf<Route>()
    
      fun onlyResponse() = responses.single()
    
      fun onlyRoute() = routes.single()
    
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt

      val failedRoutes: Set<Route>
        @Synchronized get() = _failedRoutes.toSet()
    
      /** Records a failure connecting to [failedRoute]. */
      @Synchronized fun failed(failedRoute: Route) {
        _failedRoutes.add(failedRoute)
      }
    
      /** Records success connecting to [route]. */
      @Synchronized fun connected(route: Route) {
        _failedRoutes.remove(route)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/openapi-callbacks.md

    ```Python hl_lines="35"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    !!! tip "Tipp"
        Beachten Sie, dass Sie nicht den Router selbst (`invoices_callback_router`) an `callback=` übergeben, sondern das Attribut `.routes`, wie in `invoices_callback_router.routes`.
    
    ### Es in der Dokumentation ansehen
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:17:23 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  4. docs/de/docs/how-to/extending-openapi.md

    * `summary`: Eine kurze Zusammenfassung der API.
    * `description`: Die Beschreibung Ihrer API. Dies kann Markdown enthalten und wird in der Dokumentation angezeigt.
    * `routes`: Eine Liste von Routen, dies sind alle registrierten *Pfadoperationen*. Sie stammen von `app.routes`.
    
    !!! info
        Der Parameter `summary` ist in OpenAPI 3.1.0 und höher verfügbar und wird von FastAPI 0.99.0 und höher unterstützt.
    
    ## Überschreiben der Standardeinstellungen
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Mar 14 16:44:05 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. cni/test/testdata/pre/bad_minikube_cni.conf

      "bridge": "mybridge",
      "mtu": 1460,
      "addIf": "true",
      "isGateway": true,
      "ipMasq": true,
      "ipam": {
        "type": "host-local",
        "subnet": "10.1.0.0/16",
        "gateway": "10.1.0.1",
        "routes": [
          {
            "dst": "0.0.0.0/0"
          }
        ]
      }
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 19 23:19:19 GMT 2020
    - 295 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

        http2Connection.start()
      }
    
      /**
       * Returns true if this connection can carry a stream allocation to `address`. If non-null
       * `route` is the resolved route for a connection.
       */
      internal fun isEligible(
        address: Address,
        routes: List<Route>?,
      ): Boolean {
        lock.assertHeld()
    
        // If this connection is not accepting new exchanges, we're done.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       *
       * If [routes] is non-null these are the resolved routes (ie. IP addresses) for the connection.
       * This is used to coalesce related domains to the same HTTP/2 connection, such as `square.com`
       * and `square.ca`.
       */
      fun callAcquirePooledConnection(
        doExtensiveHealthChecks: Boolean,
        address: Address,
        connectionUser: ConnectionUser,
        routes: List<Route>?,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    
    /** Attempt routes one at a time until one connects. */
    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/openapi-callbacks.md

    🔜 ⚙️ 🔢 `callbacks` *👆 🛠️ ➡ 🛠️ 👨‍🎨* 🚶‍♀️ 🔢 `.routes` (👈 🤙 `list` 🛣/*➡ 🛠️*) ⚪️➡️ 👈 ⏲ 📻:
    
    ```Python hl_lines="35"
    {!../../../docs_src/openapi_callbacks/tutorial001.py!}
    ```
    
    !!! tip
        👀 👈 👆 🚫 🚶‍♀️ 📻 ⚫️ (`invoices_callback_router`) `callback=`, ✋️ 🔢 `.routes`, `invoices_callback_router.routes`.
    
    ### ✅ 🩺
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       *
       * This will be invoked only once for a single [Call]. Retries of different routes or redirects
       * will be handled within the boundaries of a single [callStart] and [callEnd]/[callFailed] pair.
       */
      open fun callStart(call: Call) {
      }
    
      /**
       * Invoked prior to a proxy selection.
       *
       * This will be invoked for route selection regardless of whether the client
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top