Category

WebSocket

Bidirectional WebSocket connections.

Category guide

Overview

Use this overview to understand the category before opening a specific function.
  • See what this group of functions is meant to solve.
  • Compare function names and descriptions in one table.
  • Open a function for syntax, arguments, returns, and examples.

WebSocket

Available functions

3 functions
FunctionDescription
WebSocket.CloseCloses a WebSocket object returned by WebSocket.connect.
WebSocket.connectCreates two BindableEvents, opens a WebSocket client WebSocket connection to the provided URL, and yields until the connection attempt finishes.
WebSocket.SendSends a Lua string with a WebSocket object returned by WebSocket.connect.