perwendel / spark

A simple expressive web framework for java. Spark has a kotlin DSL https://github.com/perwendel/spark-kotlin
Apache License 2.0
9.65k stars 1.56k forks source link

How to start server #1271

Open brobles82 opened 1 year ago

brobles82 commented 1 year ago

I cant find where is defined how to start the spark server ...

benedictweis commented 1 year ago

"The server is automatically started when you do something that requires the server to be started (i.e. declaring a route or setting the port). You can also manually start the server by calling init().", quoted from sparkjava.com