from anser import Anser


server = Anser(__name__, debug=True)


@server.action('default')
def action_a(message, address):
    print message['type']
    print message['body']


server.run()
from anser import Anser


server = Anser(__name__, debug=True)


@server.action('default')
def action_a(message, address):
    print "{0} - {1}".format(address, message)


server.run()

Clean the output of the demo server
Clean the output of the demo server
