Пример #1
0
 def __init__(self, host='', port=8080, **options):
     options['server_class'] = FWSGISvr
     WSGIRefServer.__init__(self, host, port, **options)
Пример #2
0
 def __init__(self, host='127.0.0.1', port=8080, **options):
     WSGIRefServer.__init__(self, host=host, port=port, **options)
     self.srv = None
     CustomWSGIRefServer.instances.append(self)
Пример #3
0
    def __init__(self, host='127.0.0.1', port=8080, **options):
        WSGIRefServer.__init__(self, host=host, port=port, **options)
        self.quiet = options.get("quiet", False)

        self.__server = None
        self.__server_started = Event()