MCPcopy Index your code
hub / github.com/rawpython/remi / serve_forever

Method serve_forever

remi/server.py:934–945  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

932 self.serve_forever()
933
934 def serve_forever(self):
935 try:
936 import webview
937 except ImportError:
938 raise ImportError('PyWebView is missing. Please install it by:\n '
939 'pip install pywebview\n '
940 'more info at https://github.com/r0x0r/pywebview')
941 else:
942 Server.start(self)
943 webview.create_window(self.title, self.address, **self._application_conf)
944 webview.start()
945 Server.stop(self)
946
947
948def start(main_gui_class, **kwargs):

Callers 1

__init__Method · 0.95

Calls 2

startMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected