Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 26 for EventSource (0.06 seconds)

  1. docs/zh-hant/docs/tutorial/server-sent-events.md

    # Server-Sent Events(SSE) { #server-sent-events-sse }
    
    你可以使用 Server-Sent Events(SSE)把資料串流傳送給用戶端。
    
    這與[串流 JSON Lines](stream-json-lines.md)類似,但使用瀏覽器原生支援、透過 [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) 的 `text/event-stream` 格式。
    
    /// info
    
    在 FastAPI 0.135.0 新增。
    
    ///
    
    ## 什麼是 Server-Sent Events? { #what-are-server-sent-events }
    
    SSE 是一種透過 HTTP 從伺服器向用戶端串流傳送資料的標準。
    
    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)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okhttp3.internal.stripBody
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource(
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource,
      ServerSentEventReader.Callback,
      Callback {
      private var call: Call? = null
    
      @Volatile private var canceled = false
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 03 07:51:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/server-sent-events.md

    **Server-Sent Events** (SSE) を使うと、クライアントへデータをストリーミングできます。
    
    これは[JSON Lines のストリーミング](stream-json-lines.md)に似ていますが、`text/event-stream` フォーマットを使用します。これはブラウザがネイティブに [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) でサポートしています。
    
    /// info | 情報
    
    FastAPI 0.135.0 で追加されました。
    
    ///
    
    ## Server-Sent Events とは { #what-are-server-sent-events }
    
    SSE は、HTTP 経由でサーバーからクライアントへデータをストリーミングするための標準です。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    import okhttp3.CallEvent.ResponseHeadersEnd
    import okhttp3.CallEvent.ResponseHeadersStart
    import okhttp3.EventRecorder
    import okhttp3.Headers
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Request
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSources.createFactory
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  5. docs/bucket/notifications/README.md

    ```
    mc cp myphoto.jpg myminio/images
    ```
    
    You should receive the following event notification via RabbitMQ once the upload completes.
    
    ```py
    python rabbit.py
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
  6. cmd/event-notification.go

    	}
    
    	keyName := args.Object.Name
    	if escape {
    		keyName = url.QueryEscape(args.Object.Name)
    	}
    
    	newEvent := event.Event{
    		EventVersion:      "2.0",
    		EventSource:       "minio:s3",
    		AwsRegion:         args.ReqParams["region"],
    		EventTime:         eventTime.Format(event.AMZTimeFormat),
    		EventName:         args.EventName,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 21 22:22:24 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  7. fastapi/sse.py

        comment: Annotated[
            str | None,
            Doc(
                """
                Optional comment line(s).
    
                Comment lines start with `:` in the SSE wire format and are ignored by
                `EventSource` clients. Useful for keep-alive pings to prevent
                proxy/load-balancer timeouts.
                """
            ),
        ] = None
    
        @model_validator(mode="after")
    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)
  8. docs/de/docs/tutorial/server-sent-events.md

    Das ist ähnlich wie [JSON Lines streamen](stream-json-lines.md), verwendet aber das Format `text/event-stream`, das von Browsern nativ mit der [die `EventSource`-API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource) unterstützt wird.
    
    /// info | Info
    
    Hinzugefügt in FastAPI 0.135.0.
    
    ///
    
    ## Was sind Server-Sent Events? { #what-are-server-sent-events }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/server-sent-events.md

    Isso é semelhante a [Stream de JSON Lines](stream-json-lines.md), mas usa o formato `text/event-stream`, que é suportado nativamente pelos navegadores com a [`EventSource` API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
    
    /// info | Informação
    
    Adicionado no FastAPI 0.135.0.
    
    ///
    
    ## O que são Server-Sent Events? { #what-are-server-sent-events }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. docs/uk/docs/tutorial/server-sent-events.md

    Це подібно до [Потік JSON Lines](stream-json-lines.md), але використовує формат `text/event-stream`, який нативно підтримується браузерами через [API `EventSource`](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
    
    /// info | Інформація
    
    Додано у FastAPI 0.135.0.
    
    ///
    
    ## Що таке Server-Sent Events { #what-are-server-sent-events }
    
    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