Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 515 for ssec (0.03 seconds)

  1. fastapi/sse.py

        if v is not None and "\0" in v:
            raise ValueError("SSE 'id' must not contain null characters")
        return v
    
    
    class ServerSentEvent(BaseModel):
        """Represents a single Server-Sent Event.
    
        When `yield`ed from a *path operation function* that uses
        `response_class=EventSourceResponse`, each `ServerSentEvent` is encoded
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/server-sent-events.md

    ## POST로 SSE 사용하기 { #sse-with-post }
    
    SSE는 `GET`뿐만 아니라 **모든 HTTP 메서드**와 함께 동작합니다.
    
    이는 `POST`로 SSE를 스트리밍하는 [MCP](https://modelcontextprotocol.io) 같은 프로토콜에 유용합니다:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## 기술 세부사항 { #technical-details }
    
    FastAPI는 일부 SSE 모범 사례를 기본으로 구현합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. docs/distributed/decom-encrypted-sse-s3.sh

    ./mc admin policy attach myminio/ rw --user=minio123
    ./mc admin policy attach myminio/ lake --user=minio12345
    
    ./mc mb -l myminio/versioned
    
    ./mc encrypt set sse-s3 myminio/versioned
    
    ./mc mirror internal myminio/versioned/ --quiet >/dev/null
    
    ## Soft delete (creates delete markers)
    ./mc rm -r --force myminio/versioned >/dev/null
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/server-sent-events.md

    ///
    
    ## Streaming de SSE con FastAPI { #stream-sse-with-fastapi }
    
    Para hacer streaming de SSE con FastAPI, usa `yield` en tu path operation function y establece `response_class=EventSourceResponse`.
    
    import `EventSourceResponse` de `fastapi.sse`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/server-sent-events.md

    ## SSE with POST { #sse-with-post }
    
    SSE works with **any HTTP method**, not just `GET`.
    
    This is useful for protocols like [MCP](https://modelcontextprotocol.io) that stream SSE over `POST`:
    
    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## Technical Details { #technical-details }
    
    FastAPI implements some SSE best practices out of the box.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/server-sent-events.md

    data: {"name": "Plumbus", "price": 32.99}
    
    ```
    
    SSE 常用於 AI 聊天串流、即時通知、日誌與可觀察性,以及其他由伺服器主動推送更新給用戶端的情境。
    
    /// tip
    
    如果你要串流二進位資料,例如影片或音訊,請參考進階指南:[串流資料](../advanced/stream-data.md)。
    
    ///
    
    ## 使用 FastAPI 串流 SSE { #stream-sse-with-fastapi }
    
    要在 FastAPI 中串流 SSE,請在你的路徑操作函式(path operation function)中使用 `yield`,並設定 `response_class=EventSourceResponse`。
    
    從 `fastapi.sse` 匯入 `EventSourceResponse`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. internal/crypto/sse-kms.go

    type ssekms struct{}
    
    var (
    	// S3KMS represents AWS SSE-KMS. It provides functionality to
    	// handle SSE-KMS requests.
    	S3KMS = ssekms{}
    
    	_ Type = S3KMS
    )
    
    // String returns the SSE domain as string. For SSE-KMS the
    // domain is "SSE-KMS".
    func (ssekms) String() string { return "SSE-KMS" }
    
    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-KMS header.
    func (ssekms) IsRequested(h http.Header) bool {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 23:55:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/server-sent-events.md

    ///
    
    ## Diffuser des SSE avec FastAPI { #stream-sse-with-fastapi }
    
    Pour diffuser des SSE avec FastAPI, utilisez `yield` dans votre *fonction de chemin d'accès* et définissez `response_class=EventSourceResponse`.
    
    Importez `EventSourceResponse` depuis `fastapi.sse` :
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-model">{@code
       * Sec-CH-UA-Model}</a> header field name.
       *
       * @since 30.0
       */
      public static final String SEC_CH_UA_MODEL = "Sec-CH-UA-Model";
    
      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform">{@code
       * Sec-CH-UA-Platform}</a> header field name.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 24 14:36:23 GMT 2026
    - 35.6K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/server-sent-events.md

    ///
    
    ## Стрімінг SSE у FastAPI { #stream-sse-with-fastapi }
    
    Щоб транслювати SSE з FastAPI, використовуйте `yield` у вашій *функції операції шляху* і встановіть `response_class=EventSourceResponse`.
    
    Імпортуйте `EventSourceResponse` з `fastapi.sse`:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top