Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,499 for starete (0.05 seconds)

  1. docs/es/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Puedes leer más detalles sobre ["Ejecutar lifespan en tests en el sitio oficial de documentación de Starlette."](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Para los eventos obsoletos `startup` y `shutdown`, puedes usar el `TestClient` así:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 634 bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/testing-events.md

    {* ../../docs_src/app_testing/tutorial004_py310.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    Вы можете узнать больше подробностей в статье [Запуск lifespan в тестах на официальном сайте документации Starlette.](https://www.starlette.dev/lifespan/#running-lifespan-in-tests)
    
    Для устаревших событий `startup` и `shutdown` вы можете использовать `TestClient` следующим образом:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 19:57:34 GMT 2026
    - 904 bytes
    - Click Count (0)
  3. cmd/background-newdisks-heal-ops_gen.go

    				return
    			}
    		case "Endpoint":
    			z.Endpoint, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Endpoint")
    				return
    			}
    		case "Started":
    			z.Started, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "Started")
    				return
    			}
    		case "LastUpdate":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 24.6K bytes
    - Click Count (0)
  4. docs/en/docs/reference/websockets.md

    Read more about it in the [FastAPI docs for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/)
    
    It is provided directly by Starlette, but you can import it from `fastapi`:
    
    ```python
    from fastapi import WebSocket
    ```
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:41:54 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/request-files.md

    {* ../../docs_src/request_files/tutorial002_an_py310.py hl[10,15] *}
    
    接收的也是含 `bytes` 或 `UploadFile` 的列表(`list`)。
    
    /// note | 技术细节
    
    也可以使用 `from starlette.responses import HTMLResponse`。
    
    `fastapi.responses` 其实与 `starlette.responses` 相同,只是为了方便开发者调用。实际上,大多数 **FastAPI** 的响应都直接从 Starlette 调用。
    
    ///
    
    ### 带有额外元数据的多文件上传 { #multiple-file-uploads-with-additional-metadata }
    
    和之前的方式一样,你可以为 `File()` 设置额外参数,即使是 `UploadFile`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/middleware.md

    ///
    
    /// note | Technical Details
    
    You could also use `from starlette.requests import Request`.
    
    **FastAPI** provides it as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ### Before and after the `response` { #before-and-after-the-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. docs/uk/docs/advanced/response-directly.md

    /// note | Технічні деталі
    
    Ви також можете використати `from starlette.responses import JSONResponse`.
    
    **FastAPI** надає ті самі `starlette.responses` як `fastapi.responses` просто як зручність для вас, розробника. Але більшість доступних відповідей походять безпосередньо зі Starlette.
    
    ///
    
    ## Повернення власного `Response` { #returning-a-custom-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

        @Test
        public void testReset() throws Exception {
            // Create some state
            String username = "resettest";
            String ip = "192.168.1.12";
    
            for (int i = 0; i < 2; i++) {
                rateLimiter.checkAttempt(username, ip);
                rateLimiter.recordFailure(username, ip);
            }
    
            // Should have some state
            AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/middleware.md

    但如果你有自訂標頭並希望瀏覽器端的用戶端能看到它們,你需要在 CORS 設定([CORS(跨來源資源共用)](cors.md))中使用 [Starlette 的 CORS 文件](https://www.starlette.dev/middleware/#corsmiddleware)所記載的參數 `expose_headers` 將它們加入。
    
    ///
    
    /// note | 技術細節
    
    你也可以使用 `from starlette.requests import Request`。
    
    **FastAPI** 為了方便開發者而提供了它,但實際上它直接來自 Starlette。
    
    ///
    
    ### 在 `response` 之前與之後 { #before-and-after-the-response }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/request-files.md

    /// note | Technical Details
    
    You could also use `from starlette.responses import HTMLResponse`.
    
    **FastAPI** provides the same `starlette.responses` as `fastapi.responses` just as a convenience for you, the developer. But most of the available responses come directly from Starlette.
    
    ///
    
    ### Multiple File Uploads with Additional Metadata { #multiple-file-uploads-with-additional-metadata }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
Back to Top