def __init__(self): Server.__init__(self, (listen, port)) Static(docroot="../html/").register(self) DartsWSServer().register(self) DartsServerController().register(self) Root().register(self) #Logger().register(Webserver) WebSockets("/websocket").register(self)
def __init__(self): Server.__init__(self, PORT) #"localhost", PORT) self + WebController() + Static(docroot=PATH)
def __init__(self): Server.__init__(self, "0.0.0.0:%d" % PORT) #"localhost", PORT) self + WebController() + Static(docroot=SHOTPATH)
def __init__(self): Server.__init__(self, "0.0.0.0:%d" % PORT) #"localhost", PORT) self + WebController() + Static(docroot=SHOTPATH)
def __init__(self): Server.__init__(self, PORT) #"localhost", PORT) self + WebController() + Static(docroot=PATH)
def __init__(self): log("RaspuinoDartMiniServer::__init__") Server.__init__(self, ("0.0.0.0", 8000)) # Static(docroot=".", defaults=['RaspuinoDartMini.html']).register(self) RaspuinoDartMiniEcho().register(self) WebSocketsDispatcher("/websocket").register(self)