Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 153 for aurait (0.04 seconds)

  1. docs/pt/docs/advanced/websockets.md

    ///
    
    ## Aguarde mensagens e envie mensagens { #await-for-messages-and-send-messages }
    
    Em sua rota WebSocket você pode esperar (`await`) por mensagens e enviar mensagens.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    Você pode receber e enviar dados binários, de texto e JSON.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/request-files.md

    * `read(size)`:讀取檔案的 `size` (`int`) 個位元組/字元。
    * `seek(offset)`:移動到檔案中的位元組位置 `offset` (`int`)。
        * 例如,`await myfile.seek(0)` 會移到檔案開頭。
        * 當你已經執行過 `await myfile.read()`,之後需要再次讀取內容時特別有用。
    * `close()`:關閉檔案。
    
    由於這些都是 `async` 方法,你需要以 await 呼叫它們。
    
    例如,在 `async` 的路徑操作函式中可這樣讀取內容:
    
    ```Python
    contents = await myfile.read()
    ```
    
    若是在一般的 `def` 路徑操作函式中,你可以直接存取 `UploadFile.file`,例如:
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

          @Override
          public Class<?> loadClass(String name) throws ClassNotFoundException {
            if (disallowedClassNames.contains(name)) {
              throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that.");
            }
            if (name.startsWith(concurrentPackage)) {
              Class<?> c = findLoadedClass(name);
              if (c == null) {
                return super.findClass(name);
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  4. docs/fr/docs/advanced/behind-a-proxy.md

    Dans ce cas, le chemin original `/app` serait en réalité servi à `/api/v1/app`.
    
    Même si tout votre code est écrit en supposant qu'il n'y a que `/app`.
    
    {* ../../docs_src/behind_a_proxy/tutorial001_py310.py hl[6] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. internal/logger/config.go

    	"github.com/minio/minio/internal/logger/target/http"
    	"github.com/minio/minio/internal/logger/target/kafka"
    )
    
    // Console logger target
    type Console struct {
    	Enabled bool `json:"enabled"`
    }
    
    // Audit/Logger constants
    const (
    	Endpoint      = "endpoint"
    	AuthToken     = "auth_token"
    	ClientCert    = "client_cert"
    	ClientKey     = "client_key"
    	BatchSize     = "batch_size"
    	QueueSize     = "queue_size"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/websockets.md

    /// note | 技术细节
    
    您也可以使用 `from starlette.websockets import WebSocket`。
    
    **FastAPI** 直接提供了相同的 `WebSocket`,只是为了方便开发人员。但它直接来自 Starlette。
    
    ///
    
    ## 等待消息并发送消息 { #await-for-messages-and-send-messages }
    
    在您的 WebSocket 路由中,您可以使用 `await` 等待消息并发送消息。
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    您可以接收和发送二进制、文本和 JSON 数据。
    
    ## 尝试一下 { #try-it }
    
    将代码放在 `main.py`,然后运行你的应用程序:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/request-files.md

    * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo.
    * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo.
        * Por exemplo, `await myfile.seek(0)` irá para o início do arquivo.
        * Isso é especialmente útil se você executar `await myfile.read()` uma vez e precisar ler o conteúdo novamente.
    * `close()`: Fecha o arquivo.
    
    Como todos esses métodos são métodos `assíncronos`, você precisa "aguardar" por eles.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  8. fastapi/routing.py

                                            with anyio.fail_after(_PING_INTERVAL):
                                                data = await receive_stream.receive()
                                            await send_keepalive.send(data)
                                        except TimeoutError:
                                            await send_keepalive.send(KEEPALIVE_COMMENT)
                                except anyio.EndOfStream:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `What do you mean by that?' said the Caterpillar sternly.
    `Explain yourself!'
    
      `I can't explain MYSELF, I'm afraid, sir' said Alice, `because
    I'm not myself, you see.'
    
      `I don't see,' said the Caterpillar.
    
      `I'm afraid I can't put it more clearly,' Alice replied very
    politely, `for I can't understand it myself to begin with; and
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Néanmoins, nous pouvons déclarer le schéma attendu pour le corps de la requête.
    
    ### Type de contenu OpenAPI personnalisé { #custom-openapi-content-type }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 8K bytes
    - Click Count (0)
Back to Top