Class NgrokClient


  • public class NgrokClient
    extends java.lang.Object
    A client for interacting with ngrok, its binary, and its APIs.
    • Method Detail

      • connect

        public Tunnel connect​(CreateTunnel createTunnel)
                       throws java.io.IOException,
                              java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • disconnect

        public void disconnect​(java.lang.String publicUrl)
                        throws java.io.IOException,
                               java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException
      • getTunnels

        public Tunnels getTunnels()
      • kill

        public void kill()
                  throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException