You can use simply send():
Code: Select all
send(responseCmd, response, responseUser);
And then you can also use getApi().sendExtensionResponse():
Code: Select all
getApi().sendExtensionResponse(responseCmd, response, responseUser, responseRoom, responseUDP);
Why are there two different methods that can do the same thing? Or am I wrong here and they have two different purposes? (Now thinking about it, I believe send() is for things like servlets maybe, but I'm not 100% sure.)
So when should each one of those methods be used?
Thanks for any help and advice!
-Carson Bennett