Forward incoming listener connections. This can be either a TCP address or a file socket path. For file socket paths on Linux/Darwin, addr can be a unix domain socket path, e.g. "/tmp/ngrok.sock" On Windows, addr can be a named pipe, e.e. "\\.\pipe\an_ngrok_pipe
Returns a human-readable string presented in the ngrok dashboard and the API. Use the HttpListenerBuilder.forwardsTo, TcpListenerBuilder.forwardsTo, etc. to set this value explicitly.
To automatically forward connections, you can use
listenAndForward or listenAndServe
on the Listener Builder. These methods will also set this forwardsTo
value.
Generated using TypeDoc
An ngrok listener.