a library to speed up the development of Fivem scripts and frameworks
fivem-ts - Documentation v0.7.5 • Docs
fivem-ts - Documentation v0.7.5 / Server / Route
Route(
method
,path
):MethodDecorator
Decorator to define a route in a controller.
• method: string
The HTTP method (GET, POST, etc.).
• path: string
The route path.
MethodDecorator