Added client route
This commit is contained in:
parent
14584a8875
commit
058406be01
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
class Route:
|
class ServerRoute:
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
self.setup(**kwargs)
|
self.setup(**kwargs)
|
||||||
|
|
||||||
|
@ -8,6 +8,9 @@ class Route:
|
||||||
def run(self, data, handler):
|
def run(self, data, handler):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
class ClientRoute:
|
||||||
|
def run(self, data, handler):
|
||||||
|
pass
|
||||||
|
|
||||||
def create_routes(routes):
|
def create_routes(routes):
|
||||||
routes = routes.copy()
|
routes = routes.copy()
|
||||||
|
|
Reference in a new issue