예제 #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)