@@ -195,36 +195,36 @@ Used to stop listening to events at a given path. This must be the same path pro
195
195
196
196
#Messaging Protocol
197
197
198
- ##BEGIN_MESSAGING
198
+ ##BEGIN_MSG
199
199
Called to start communicating with Firebase Cloud Messaging, it requires a server key.
200
200
###Usage
201
- BEGIN_MESSAGING %Server_Key%
201
+ BEGIN_MSG %Server_Key%
202
202
###Response
203
203
+OK - Accepted initialization parameters
204
204
###Examples
205
- >>BEGIN_MESSAGING AIzaSyCk4GtbBa-XMQbc5TyT5oe1KnH71M-2lAZ
205
+ >>BEGIN_MSG AIzaSyCk4GtbBa-XMQbc5TyT5oe1KnH71M-2lAZ
206
206
<< +OK
207
207
208
- ##MESSAGE_TO_USERS
208
+ ##MSG_USERS
209
209
Called to start composing a message to users by registration id. You can specify as many as you wish separated by spaces on the same line.
210
210
##Usage
211
- MESSAGE_TO_USERS %Registration_id% ...
211
+ MSG_USERS %Registration_id% ...
212
212
###Response
213
213
+OK - Ready to specify rest of message.
214
214
###Examples
215
- >>MESSAGE_TO_USERS fQCLfBOGdh0...9k0
215
+ >>MSG_USERS fQCLfBOGdh0...9k0
216
216
<< +OK
217
- >>MESSAGE_TO_USERS fQCLfBOGdh0...9k0 fQCLfBOGdh0...5j1
217
+ >>MSG_USERS fQCLfBOGdh0...9k0 fQCLfBOGdh0...5j1
218
218
<< +OK
219
219
220
- ##MESSAGE_TO_TOPIC
220
+ ##MSG_TOPIC
221
221
Called to start composing a message to a topic.
222
222
##Usage
223
- MESSAGE_TO_TOPIC %Topic_Name% ...
223
+ MSG_TOPIC %Topic_Name% ...
224
224
###Response
225
225
+OK - Ready to specify rest of message.
226
226
###Examples
227
- >>MESSAGE_TO_TOPIC news
227
+ >>MSG_TOPIC news
228
228
<< +OK
229
229
230
230
##COLLAPSE_KEY
@@ -312,15 +312,15 @@ Data to delivery to client application. This is comprised of Key->Value pairs. T
312
312
>> 104
313
313
<< +OK
314
314
315
- ##SEND_MESSAGE
315
+ ##SEND_MSG
316
316
Send the message we have been preparing.
317
317
##Usage
318
- SEND_MESSAGE
318
+ SEND_MSG
319
319
###Response
320
320
+OK - Message Sent.
321
321
-FAIL - Failed to send message, we still have the message prepared so you may retry.
322
322
###Examples
323
- >>SEND_MESSAGE
323
+ >>SEND_MSG
324
324
<< +OK
325
- >>SEND_MESSAGE
325
+ >>SEND_MSG
326
326
<< -FAIL