# Enum.WebStreamClientState

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/WebStreamClientState/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/WebStreamClientState

WebStreamClientState indicates the current state of a WebStreamClient object.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Connecting` | 0 | The client has sent a request to connect with the server and is waiting for a response. |
| `Open` | 1 | The client is connected to the server, allowing for data to be streamed between the server and client. |
| `Error` | 2 | An unrecoverable error has occured while setting up the connection orduring the connection lifetime, cutting off the stream. |
| `Closed` | 3 | The connection has run to completion without issues, either closed naturally by the server or manually by the user. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [WebStreamClient](https://rapi.sleaze.dev/classes/WebStreamClient.md): property `ConnectionState`
