The main endpoint for the API
Configuration options
ReadonlyendpointsA map containing all endpoints of this API
Bind the API to a different IP Address
Readonlymainthe main endpoint for this API
ReadonlymiddlewaresA Map containing all used middlewares for this API
ReadonlyparametersA Map containing all parameters checker functions for this API
The API Server PORT. Default: 3000
Adds an endpoint to the API with improved error handling
Optionalmiddlewares: MiddleWareCallback[]Legacy method for backward compatibility
Legacy method for backward compatibility
Adds multiple methods to a single endpoint with improved type safety
Legacy method for backward compatibility
Adds a parameter checker with improved validation
Legacy method for backward compatibility
Force stops the server immediately (not recommended for production)
Gets current connection count
Gets the Express app instance for advanced usage
Gets all registered endpoints
Gets the Express router instance
Gets server information
Starts the express server with improved configuration
OptionallegacyConfig: { useDefaultMiddlewares: string }Gracefully stops the server
Initializes the APIController Class