Navigation
API > API/Plugins > API/Plugins/WebRemoteControl > API/Plugins/WebRemoteControl/IWebRemoteControlModule
Description
Register a request preprocessor. Useful for cases where you want to drop or handle incoming requests before they are handled the the web remote control module.
The request preprocessor should return false if the request should pass through, and true if the request has been handled by the preprocessor. If the request is handled by the preprocessor, you must call the OnComplete callback.
| Name | RegisterRequestPreprocessor |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/RemoteControl/Source/WebRemoteControl/Public/IWebRemoteControlModule.h |
| Include Path | #include "IWebRemoteControlModule.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. |