Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I stop? #7

Open
1 task
dkotik opened this issue Sep 9, 2023 · 1 comment
Open
1 task

How do I stop? #7

dkotik opened this issue Sep 9, 2023 · 1 comment

Comments

@dkotik
Copy link

dkotik commented Sep 9, 2023

Describe the feature

There is currently no command to stop the tunnel that I can find. How do I stop it?

Additional information

  • Would you be willing to help implement this feature?
@wdhdev
Copy link

wdhdev commented Sep 18, 2023

Assuming you are using a configuration like this, you should be able to close a tunnel by doing this:

const tunnel = await startTunnel({ port: 3000 });

tunnel.close();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants