Created
September 26, 2016 05:05
-
-
Save pgordon9/4b16c34e191d078588ae9777a0c20b6b to your computer and use it in GitHub Desktop.
Start Server. JettyExample | parkergordon.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{...} | |
object JettyExample { | |
{...} | |
val server = createServer() | |
def main(args: Array[String]) = { | |
{...} | |
server.start() | |
println(s"Server started on ${port()} with routes: '$incrementRoute'") | |
server.join() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment