Skip to content

ngrok/java-sdk-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-sdk-example

This example application starts a hello world HTTP server on port 8085 and then uses the ngrok Java SDK (com.ngrok:ngrok-java) to forward public traffic to that server. See the SDK reference for more details. When you run it, you'll get a public URL that anyone can use to access your app.

Clone and Run This Example

git clone git@github.com:ngrok/java-sdk-example.git
cd java-sdk-example
NGROK_AUTHTOKEN=<token> mvn compile exec:java

License

MIT

About

Minimal HTTP server using the ngrok Java SDK

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages