Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 224 for router2 (0.11 sec)

  1. docs/de/docs/how-to/custom-request-and-route.md

    ```
    
    ## Benutzerdefinierte `APIRoute`-Klasse in einem Router
    
    Sie kรถnnen auch den Parameter `route_class` eines `APIRouter` festlegen:
    
    ```Python hl_lines="26"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

      /** Returns a plan for the first attempt at [route]. This throws if no plan is possible. */
      @Throws(IOException::class)
      internal fun planConnectToRoute(
        route: Route,
        routes: List<Route>? = null,
      ): ConnectPlan {
        if (route.address.sslSocketFactory == null) {
          if (ConnectionSpec.CLEARTEXT !in route.address.connectionSpecs) {
            throw UnknownServiceException("CLEARTEXT communication not enabled for client")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. docs/pt/docs/how-to/custom-request-and-route.md

    {!../../docs_src/custom_request_and_route/tutorial002.py!}
    ```
    
    ## Classe `APIRoute` personalizada em um router
    
    vocรช tambรฉm pode definir o parametro `route_class` de uma `APIRouter`;
    
    ```Python hl_lines="26"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/openapi-callbacks.md

    ///
    
    ### Add the callback router
    
    At this point you have the *callback path operation(s)* needed (the one(s) that the *external developer*  should implement in the *external API*) in the callback router you created above.
    
    Now use the parameter `callbacks` in *your API's path operation decorator* to pass the attribute `.routes` (that's actually just a `list` of routes/*path operations*) from that callback router:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val selection = routeSelector.next()
        dns.assertRequests(uriHost)
        val routes = selection.routes
        assertRoute(routes[0], address, Proxy.NO_PROXY, dns.lookup(uriHost, 0), uriPort)
        assertRoute(routes[1], address, Proxy.NO_PROXY, dns.lookup(uriHost, 1), uriPort)
        assertThat(selection.next()).isSameAs(routes[0])
        assertThat(selection.next()).isSameAs(routes[1])
        assertThat(selection.hasNext()).isFalse()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[16:18] *}
    
    ## Custom `APIRoute` class in a router
    
    You can also set the `route_class` parameter of an `APIRouter`:
    
    {* ../../docs_src/custom_request_and_route/tutorial003.py hl[26] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/em/docs/advanced/behind-a-proxy.md

      [entryPoints.http]
        address = ":9999"
    
    [providers]
      [providers.file]
        filename = "routes.toml"
    ```
    
    ๐Ÿ‘‰ ๐Ÿ’ฌ Traefik ๐Ÿ‘‚ ๐Ÿ”› โ›ด 9๏ธโƒฃ9๏ธโƒฃ9๏ธโƒฃ9๏ธโƒฃ &amp; โš™๏ธ โž•1๏ธโƒฃ ๐Ÿ“ `routes.toml`.
    
    /// tip
    
    ๐Ÿ‘ฅ โš™๏ธ โ›ด 9๏ธโƒฃ9๏ธโƒฃ9๏ธโƒฃ9๏ธโƒฃ โ†ฉ๏ธ ๐Ÿฉ ๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ” โ›ด 8๏ธโƒฃ0๏ธโƒฃ ๐Ÿ‘ˆ ๐Ÿ‘† ๐Ÿšซ โœ”๏ธ ๐Ÿƒ โšซ๏ธ โฎ๏ธ ๐Ÿ“ก (`sudo`) ๐Ÿ˜Œ.
    
    ///
    
    ๐Ÿ”œ โœ ๐Ÿ‘ˆ ๐ŸŽ ๐Ÿ“ `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/listener.go

    	}
    	return strings.Join(vh.GetDomains(), "/")
    }
    
    func describeRoutes(vh *route.VirtualHost) string {
    	routes := make([]string, 0, len(vh.GetRoutes()))
    	for _, route := range vh.GetRoutes() {
    		routes = append(routes, describeMatch(route.GetMatch()))
    	}
    	return strings.Join(routes, ", ")
    }
    
    func describeMatch(match *route.RouteMatch) string {
    	conds := []string{}
    	if match.GetPrefix() != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  9. docs/em/docs/how-to/custom-request-and-route.md

    ```
    
    ## ๐Ÿ›ƒ `APIRoute` ๐ŸŽ“ ๐Ÿ“ป
    
    ๐Ÿ‘† ๐Ÿ’ช โš’ `route_class` ๐Ÿ”ข `APIRouter`:
    
    ```Python hl_lines="26"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    ```
    
    ๐Ÿ‘‰ ๐Ÿ–ผ, *โžก ๐Ÿ› ๏ธ* ๐Ÿ”ฝ `router` ๐Ÿ”œ โš™๏ธ ๐Ÿ›ƒ `TimedRoute` ๐ŸŽ“, &amp; ๐Ÿ”œ โœ”๏ธ โž• `X-Response-Time` ๐ŸŽš ๐Ÿ“จ โฎ๏ธ ๐Ÿ•ฐ โšซ๏ธ โœŠ ๐Ÿ— ๐Ÿ“จ:
    
    ```Python hl_lines="13-20"
    {!../../docs_src/custom_request_and_route/tutorial003.py!}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. 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>?,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top