HTTP request routing implementation
uses |
||
|
Synchronization objects. |
|
|
Basic HTTP protocol declarations and classes |
The HttpRoute unit provides HTTP request routing functionality for web applications. It defines the THTTPRouter class, which allows mapping URL patterns to specific handlers based on HTTP methods and path patterns, with support for callbacks, events, objects, and interfaces as route handlers.
A global instance of the router is available in HTTPRouter, this is where you must register your routes: the rest of the FPC web framework uses this global instance to determine where to route requests to.
|
Advanced HTTP Router Handler Examples |
|
|
HTTP Router Methods and RESTful APIs |
|
|
HTTP Router Interceptors and Middleware |
|
|
HTTP Router Parameterized Routes |
|
|
Basic HTTP Router Usage |
|
|
HTTP Router Handler Types |
|
|
HTTP Router Working Principle |