Created establish_connection method for ngrok

pull/784/head^2
sTiKyt 2020-08-22 18:42:33 +00:00
parent 8dfaecf22b
commit e6245dab26
1 changed files with 4 additions and 1 deletions

View File

@ -26,4 +26,7 @@ class NgrokController:
def activate_config_path(self):
self._config.PyngrokConfig(config_path=self._config_path)
self._config.PyngrokConfig(config_path=self._config_path)
def establish_connection(self, port='80'):
self._model.connect(port=port, name='HiddenEye Connection', pyngrok_config=self._config_path)