# SocketTask.send(Object object)

Sends data over a WebSocket connection

# Parameters

# Object object

Attribute Type Default Required Description
data string/ArrayBuffer Yes The data to be sent
success function No The callback function for a successful API call
fail function No Callback function for failed API call
complete function No Callback function used when API call completed (always executed whether call succeeds or fails)
点击咨询小助手