Skip to content
Roblox API Reference

Enum.WebStreamClientType

Specifies what type of streaming to use when creating a WebStreamClient.
Items
3
Uses
2

Items3

  • Enum.WebStreamClientType.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 (opens in a new tab).
  • Enum.WebStreamClientType.RawStream = 1
    General purpose HTTP streaming client. It can connect to any server that provides streaming data transfer (e.g. chunked encoding (opens in a new tab)). It provides no guarantees about the stream format.
  • Enum.WebStreamClientType.WebSocket = 2
    WebSocket (opens in a new tab) client that provides a bidirectional communication channel over a TCP connection.

Used by parameters2