ngrok / ngrok-java

Embed ngrok secure ingress into your Java apps with a single line of code.
Other
21 stars 6 forks source link

Expose session close tunnel api #25

Closed nikolay-ngrok closed 10 months ago

nikolay-ngrok commented 10 months ago

Allows tunnel to be closed from the outside. Once a forwardTcp is called on a tunnel instance, it no longer respects close on the tunnel itself (or allows interrupting the thread). This is an alternative, session-wide method to stop a tunnel by its id (available as getId method).