Add in an HTTP API call to send a custom message type.

You cannot currently send any data with your custom message, but
this patch is just begging for a second one that will allow that.
This commit is contained in:
Mark Holmquist 2012-08-08 10:12:11 -07:00
parent aa986ab954
commit 3d4fb81796
3 changed files with 57 additions and 1 deletions

View file

@ -66,7 +66,8 @@ var functions = {
"setPassword" : ["padID", "password"],
"isPasswordProtected" : ["padID"],
"listAuthorsOfPad" : ["padID"],
"padUsersCount" : ["padID"]
"padUsersCount" : ["padID"],
"sendClientsMessage" : ["padID", "msg"]
};
/**