Enum
WebStreamClientType
Specifies what type of streaming to use when creating a
WebStreamClient.
Specifies what type of streaming to use when creating a
WebStreamClient.
Items 3#
| Name | Value | Summary |
|---|---|---|
SSE | 0 | Traditional Server-Sent Events (SSE) client. Requires text/event-stream
to be returned in the Content-Type header. Messages in the stream will
follow the
event stream format. |
RawStream | 1 | General purpose HTTP streaming client. It can connect to any server that provides streaming data transfer (e.g. chunked encoding). It provides no guarantees about the stream format. |
WebSocket | 2 | WebSocket client that provides a bidirectional communication channel over a TCP connection. |