EmbeddedServer
Represents an embedded server that hosts an application. It's an entry point to the application and handles the lifecycle of the application engine.
Type Parameters
The type of the application engine used by the server.
The type of the configuration used by the engine.
Represents an embedded server that hosts an application. It's an entry point to the application and handles the lifecycle of the application engine.
Type Parameters
The type of the application engine used by the server.
The type of the configuration used by the engine.
Represents an embedded server that hosts an application. It's an entry point to the application and handles the lifecycle of the application engine.
Type Parameters
The type of the application engine used by the server.
The type of the configuration used by the engine.
Represents an embedded server that hosts an application. It's an entry point to the application and handles the lifecycle of the application engine.
Type Parameters
The type of the application engine used by the server.
The type of the configuration used by the engine.
Constructors
Functions
Registers a stop block that runs when the process receives a termination signal (JVM shutdown hook on JVM, POSIX signal on Native, process event on JS). Should be called before starting the server.