Kotlin to listen to ngrok server


#1

How can I set a function to listen to a ngrok server address & view the output in console using Kotlin? I think that I need to use a EventListener but there aren’t sufficient examples. Is there any good & simple walkthrough demonstrating this process.