Ejemplo n.º 1
0
def new_message():
    shaveet = ServerProxy("http://localhost:8082")
    shaveet.new_message(request.args.get('client_id'), request.args.get('msg'),
                        'chat-room', False)
    return "1"
Ejemplo n.º 2
0
def new_message():
  shaveet = ServerProxy("http://localhost:8082")
  shaveet.new_message(request.args.get('client_id'),request.args.get('msg'),'chat-room',False);
  return "1"
Ejemplo n.º 3
0
def new_message():
  shaveet = ServerProxy("http://localhost:8082")
  shaveet.new_message('server',request.args.get('msg'),'user-'+request.args.get('client_id'),False);
  return "1"