UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ExternalRpcRegistrationComponent.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
8
9
10#include "ExternalRpcRegistrationComponent.generated.h"
11
12#define UE_API EXTERNALRPCREGISTRY_API
13class FJsonObject;
17struct FHttpPath;
20struct FKey;
21UCLASS(MinimalAPI)
23{
24
26public:
29
30
31 // Outgoing RPC info
32 FString SenderID;
34
38 UE_API virtual void DeregisterHttpCallbacks();
39
43 UE_API virtual void RegisterAlwaysOnHttpCallbacks();
44
48 UE_API void BroadcastRpcListChanged();
56 UE_API void RegisterHttpCallback(FExternalRouteInfo InRouteInfo, const FHttpRequestHandler& Handler, bool bOverrideIfBound = false);
69 UE_API void RegisterHttpCallback(FName RouteName, const FHttpPath& HttpPath, const EHttpServerRequestVerbs& RequestVerbs, const FHttpRequestHandler& Handler, bool bOverrideIfBound = false, FString OptionalCategory = TEXT(""), FString OptionalContentType = {}, TArray<FExternalRpcArgumentDesc> OptionalInArguments = TArray<FExternalRpcArgumentDesc>());
70
71
80 UE_API bool HttpSendMessageToListener(FString MessageCategory, FString MessagePayload);
90 UE_API bool HttpUpdateIpOnListener(FString TargetName, FString MessagePayload);
96 UE_API FHttpRequestHandler CreateRouteHandle(TDelegate<bool(const FHttpServerRequest& Request, const FHttpResultCallback& OnComplete)> InFunc);
97
105 UE_API TUniquePtr<FHttpServerResponse> CreateSimpleResponse(bool bInWasSuccessful, FString InValue = "", bool bInFatal = false);
106
107
108};
109
110#undef UE_API
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UE_API
Definition ExternalRpcRegistrationComponent.h:12
OnComplete(MoveTemp(Response))
EHttpServerRequestVerbs
Definition HttpServerRequest.h:11
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
uint16_t uint16
Definition binka_ue_file_header.h:7
Definition JsonObject.h:23
Definition NameTypes.h:617
Definition Array.h:670
Definition DelegateSignatureImpl.inl:310
Definition AndroidPlatformMisc.h:14
Definition UniquePtr.h:107
Definition ExternalRpcRegistrationComponent.h:23
FString ListenerAddress
Definition ExternalRpcRegistrationComponent.h:33
FString SecuritySecret
Definition ExternalRpcRegistrationComponent.h:28
TArray< FName > RegisteredRoutes
Definition ExternalRpcRegistrationComponent.h:27
FString SenderID
Definition ExternalRpcRegistrationComponent.h:32
Definition Object.h:95
Definition ExternalRpcRegistry.h:60
Definition ExternalRpcRegistry.h:26
Definition HttpPath.h:12
Definition HttpServerRequest.h:24
Definition HttpServerResponse.h:17
Definition InputCoreTypes.h:50