ClientObject:setCallback
Sets the callbacks for the client. Unlike the server object, the client only has the receive data callback.
Function
Synopsis
client:setCallbacks(receive)
Arguments
-
function receive
- Callback called on incoming data(filtered): function(data).
Returns
Nothing.
See Also
Category: