start
Starts the server and blocks until the port is bound and the server is ready.
Returns this so that construction and startup can be chained:
val mokksy = Mokksy(8080).start()Content copied to clipboard
Mokksy mokksy = Mokksy.create(8080).start();Content copied to clipboard
Return
This instance, for chaining.