示例#1
0
文件: app.py 项目: lowks/untwisted
 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)
示例#2
0
文件: app.py 项目: lowks/untwisted
 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)
示例#3
0
文件: app.py 项目: lowks/untwisted
 def __init__(self, con):
     # Used to map a router to a handle.
     xmap(con, 'GET /', self.send_base)
示例#4
0
文件: app.py 项目: lowks/untwisted
 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)
示例#5
0
 def __init__(self, con):
     # Used to map a router to a handle.
     xmap(con, 'GET /', self.send_base)