Arguments passed to http.Server.listen
.
Adds a plugin to the application, which can be a Router instance, Tpl instance, or a middleware handler function. The method determines the type of the plugin and performs the appropriate action.
Router
, it is added to the application's router.Tpl
, it sets the application's template engine.The current instance for method chaining.
Starts the HTTP server and begins listening for incoming requests.