Created
May 30, 2018 13:23
-
-
Save teivah/a07771601aae149cb950a32c78a580d9 to your computer and use it in GitHub Desktop.
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
vertx.createHttpServer().requestHandler(router::accept).listen(8080, result -> { | |
if (result.succeeded()) { | |
startFuture.complete(); | |
} else { | |
startFuture.fail(result.cause()); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment