Exemple #1
0
def exitChatRoom(user_key):
    return manager.process('exitChatRoom', user_key)
Exemple #2
0
def removeFriend(user_key):
    return manager.process('removeFriend', user_key)
Exemple #3
0
def message():
    # data == user_key, type, content
    req = request.get_json()
    return manager.process('message', req)
Exemple #4
0
def addFriend():
    req = request.get_json()
    return manager.process('addFriend', req)
Exemple #5
0
def keyboard():
    return manager.process('keyboard')