IHttpRouter::RegisterRequestPreprocessor

Register a request preprocessor.

Windows
MacOS
Linux

References

Module

HttpServer

Header

/Engine/Source/Runtime/Online/HTTPServer/Public/IHttpRouter.h

Include

#include "IHttpRouter.h"

Syntax

FDelegateHandle RegisterRequestPreprocessor
(
    FHttpRequestHandler RequestPreprocessor
)

Remarks

Register a request preprocessor. Useful for cases where you want to drop or handle incoming requests before they are dispatched to their respective handler.

Returns

FDelegateHandle The handle to the delegate, used for unregistering preprocessors.

Parameters

Parameter

Description

RequestPreprocessor

The function called to process the incoming request.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss