Created obtain_tunnels method for ngrok

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

View File

@ -29,4 +29,7 @@ class NgrokController:
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)
self._model.connect(port=port, name='HiddenEye Connection', pyngrok_config=self._config_path)
def obtain_tunnels(self):
self._tunnels = self._model.get_tunnels()