Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 224 for router (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/kms-handlers_test.go

    		accessKey = userAccessKey
    		secretKey = userSecretKey
    	}
    
    	req := buildKMSRequest(t, test.method, test.path, accessKey, secretKey, test.query)
    	rec := httptest.NewRecorder()
    	adminTestBed.router.ServeHTTP(rec, req)
    
    	t.Logf("HTTP req: %s, resp code: %d, resp body: %s", req.URL.String(), rec.Code, rec.Body.String())
    
    	// Check status code
    	if rec.Code != test.wantStatusCode {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. internal/grid/debug.go

    )
    
    // TestGrid contains a grid of servers for testing purposes.
    type TestGrid struct {
    	Servers     []*httptest.Server
    	Listeners   []net.Listener
    	Managers    []*Manager
    	Mux         []*mux.Router
    	Hosts       []string
    	cleanupOnce sync.Once
    	cancel      context.CancelFunc
    }
    
    // SetupTestGrid creates a new grid for testing purposes.
    // Select the number of hosts to create.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  3. docs/pt/docs/advanced/openapi-callbacks.md

    ///
    
    ### Adicione o roteador de callback { #add-the-callback-router }
    
    Nesse ponto você tem a(s) *operação(ões) de rota de callback* necessária(s) (a(s) que o *desenvolvedor externo* deveria implementar na *API externa*) no roteador de callback que você criou acima.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. docs/uk/docs/advanced/openapi-callbacks.md

    ///
    
    ### Додайте маршрутизатор зворотного виклику { #add-the-callback-router }
    
    На цьому етапі ви маєте потрібні операції шляху зворотного виклику (ті, які має реалізувати *зовнішній розробник* у *зовнішньому API*) у створеному вище маршрутизаторі зворотного виклику.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/openapi-callbacks.md

    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[33] *}
    
    /// tip | Astuce
    
    Remarquez que vous ne passez pas le routeur lui-même (`invoices_callback_router`) à `callback=`, mais l’attribut `.routes`, comme dans `invoices_callback_router.routes`.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  6. docs/ko/docs/advanced/openapi-callbacks.md

    ///
    
    ### 콜백 라우터 추가하기 { #add-the-callback-router }
    
    이 시점에서, 위에서 만든 콜백 라우터 안에 *콜백 경로 처리(들)*(즉 *external developer*가 *external API*에 구현해야 하는 것들)을 준비했습니다.
    
    이제 *여러분의 API 경로 처리 데코레이터*에서 `callbacks` 파라미터를 사용해, 그 콜백 라우터의 `.routes` 속성(실제로는 routes/*경로 처리*의 `list`)을 전달합니다:
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[33] *}
    
    /// tip | 팁
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  7. tests/test_include_router_defaults_overrides.py

        callbacks=callback_router4.routes,
        deprecated=True,
    )
    router4_default = APIRouter()
    
    
    @app.get(
        "/override1",
        tags=["path1a", "path1b"],
        responses={
            401: {"description": "Client error level 1"},
            501: {"description": "Server error level 1"},
        },
        deprecated=True,
        callbacks=callback_router1.routes,
        dependencies=[Depends(dep1)],
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 385.6K bytes
    - Click Count (0)
  8. tests/test_additional_responses_union_duplicate_anyof.py

                "model": ModelA | ModelB,
                "content": {"application/json": {"examples": {"Case A": {"value": "a"}}}},
            }
        }
    )
    
    
    @app.get("/route1")
    async def route1():
        pass  # pragma: no cover
    
    
    @app.get("/route2")
    async def route2():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

            val route = Route(address, proxy, inetSocketAddress)
            if (routeDatabase.shouldPostpone(route)) {
              postponedRoutes += route
            } else {
              routes += route
            }
          }
    
          if (routes.isNotEmpty()) {
            break
          }
        }
    
        if (routes.isEmpty()) {
          // We've exhausted all Proxies so fallback to the postponed routes.
          routes += postponedRoutes
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 7.3K bytes
    - Click Count (2)
  10. okhttp/src/commonJvmAndroid/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")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top