# WebStreamClient(ロブロックス クラス) > Maintains a streaming connection. - URL:https://roblox.minecraft-okinawa.com/reference/classes/WebStreamClient/ - 公式:https://create.roblox.com/docs/reference/engine/classes/WebStreamClient - 受け継いでいるクラス:Object ## プロパティ - `WebStreamClient.ConnectionState: WebStreamClientState`:The current WebStreamClientState of the client. ## メソッド - `WebStreamClient:Close(): ()`:Closes the client, aborting the ongoing request. - `WebStreamClient:Send(data: string): ()`:Enqueues data to be transmitted to the server over the streaming connection. ## イベント - `WebStreamClient.Closed()`:Fires when the streaming connection is closed, either by the server or by a call to Class.WebStreamClient:Close(). - `WebStreamClient.Error(responseStatusCode: int, errorMessage: string)`:Fires if an error is received while establishing the connection or during the connection lifetime. - `WebStreamClient.MessageReceived(message: string)`:Fires each time a message is received from the server. - `WebStreamClient.Opened(responseStatusCode: int, headers: string)`:Fires when the a connection is successfully established between the client and server, allowing for events to begin streaming. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)