Exemplo n.º 1
0
 def __init__(self, con):
     # Used to map a handle to a route.
     xmap(con, 'GET /', self.send_base)
     xmap(con, 'GET /load_index', self.load_index)
     xmap(con, 'GET /add_quote', self.add_quote)
Exemplo n.º 2
0
 def __init__(self, con):
     xmap(con, 'GET /', self.send_base)
     xmap(con, 'POST /add_image', self.add_image)
     xmap(con, 'GET /load_index', self.load_index)
Exemplo n.º 3
0
 def __init__(self, con):
     # Used to map a router to a handle.
     xmap(con, 'GET /', self.send_base)
Exemplo n.º 4
0
 def __init__(self, con):
     xmap(con, 'GET /', self.send_base)
     xmap(con, 'POST /add_image', self.add_image)
     xmap(con, 'GET /load_index', self.load_index)
Exemplo n.º 5
0
 def __init__(self, con):
     # Used to map a router to a handle.
     xmap(con, 'GET /', self.send_base)