#include <HttpRequestHandlerRegistrar.h>
FHttpRequestHandlerRegistrar Represents the associative relationship between Http request paths and respective route handles
◆ AddRoute()
Add a route to the registrar.
- Parameters
-
| Handle | The new route's handle. |
◆ ContainsRoute()
Check if the registrar contains a route.
- Parameters
-
| RoutePath | the HttpPath of the target route. |
| Verb | the verb associated with the target route. |
- Returns
- Whether the route was found.
◆ QueryRoute()
Query the registrar for a route, parsing the path parameters if any.
- Parameters
-
| Query | the path to search for in the registry. |
| Verb | the handler's verb to look for. (A route might have multiple handlers each with a different verb.) |
| ParsedTokens | An optional list of tokens that were removed from the end of the path. |
- Returns
- The query's result, indicating if a match was found and parsed path parameters.
◆ RemoveRoute()
Remove a route from the registrar.
- Parameters
-
| Handle | The handle of the route to delete. |
The documentation for this class was generated from the following files: