socketSend
Last updated
Sends data to a socket.
type
The type of connection.
String/Text
-
-
Yes
name
The name of the connection.
String/Text
default
-
No
event
The event to listen for.
String/Text
-
-
No
data
The data to send to the socket.
String/Text
-
-
No
N/A
The function to be executed if data is sent to the socket successfully.
The function to be executed if data is not sent to the socket successfully.
Coming Soon.
First ensure that you have established a socket connection. See socketConnect.

Enter the details of data to be sent

You can specify a function to be called when successful, and another one to be called if it is unsuccessful. See Callback.
Last updated