Navigation
API > API/Runtime > API/Runtime/HttpServer > API/Runtime/HttpServer/IHttpRouter
Description
Register a request preprocessor. Useful for cases where you want to drop or handle incoming requests before they are dispatched to their respective handler.
| Name | RegisterRequestPreprocessor |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/HTTPServer/Public/IHttpRouter.h |
| Include Path | #include "IHttpRouter.h" |
FDelegateHandle RegisterRequestPreprocessor
(
FHttpRequestHandler RequestPreprocessor
)
FDelegateHandle The handle to the delegate, used for unregistering preprocessors.
Parameters
| Name | Remarks |
|---|---|
| RequestPreprocessor | The function called to process the incoming request. |