Constructs a new Application instance.
The network address the server will bind to.
The port number the server will listen on.
Protected
errorProtected
Readonly
handlerThe request handler to be used when serving requests
Protected
loggerProtected
requestProtected
serverThe underlying TCP server.
Registers a DELETE request handler.
Registers an OPTIONS request handler.
Registers a PATCH request handler.
Registers a request handler for all HTTP methods on a specific route.
The route pattern to match.
The handler function to execute.
A class representing a web application, extending the functionality of HttpServer.