1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

WebStreamClientType

Specifies what type of streaming to use when creating a WebStreamClient.

Items

NameValueDescription
SSE0Traditional 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.
RawStream1General 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.
WebSocket2WebSocket client that provides a bidirectional communication channel over a TCP connection.

SSE

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.

FieldValue
value0

RawStream

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.

FieldValue
value1

WebSocket

WebSocket client that provides a bidirectional communication channel over a TCP connection.

FieldValue
value2