| 1 | <?php |
||
| 26 | class MessageEndpoint extends Dispatcher |
||
| 27 | { |
||
| 28 | public static $endpoint = '/messages'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Send a broadcast/server message to all online users |
||
| 32 | * @param $body |
||
| 33 | * @return array with HTTP status 201 (Created) |
||
| 34 | * @link http://www.igniterealtime.org/projects/openfire/plugins/restapi/readme.html#send-a-broadcast-message |
||
| 35 | */ |
||
| 36 | public static function sendBroadcastMessage($body) |
||
| 42 | } |