Exemple #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)
Exemple #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)
Exemple #3
0
 def __init__(self, con):
     # Used to map a router to a handle.
     xmap(con, 'GET /', self.send_base)
Exemple #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)
Exemple #5
0
 def __init__(self, con):
     # Used to map a router to a handle.
     xmap(con, 'GET /', self.send_base)