Navigation
API > API/Runtime > API/Runtime/ExternalRpcRegistry
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UExternalRpcRegistrationComponent
References
| Module | ExternalRpcRegistry |
| Header | /Engine/Source/Runtime/ExternalRPCRegistry/Public/ExternalRpcRegistrationComponent.h |
| Include | #include "ExternalRpcRegistrationComponent.h" |
Syntax
UCLASS ()
class UExternalRpcRegistrationComponent : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | ListenerAddress | ||
| TArray< FName > | RegisteredRoutes | ||
| FString | SecuritySecret | ||
| FString | SenderID | Outgoing RPC info. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Function called when RPCs are registered or deregistered to notify any listeners that they need to refresh their RPC list. | ||
| FHttpRequestHandler | CreateRouteHandle
(
TDelegate< bool(const FHttpServerRequest&Request, const FHttpResultCallback&OnComplete)> InFunc |
Creates an Http Request Handler that gets routed through the additional handling of the ExternalRpcRegistry | |
| TUniquePtr< FHttpServerResponse > | CreateSimpleResponse
(
bool bInWasSuccessful, |
Generates a simple Json response object with success and reason for use when returning a response. | |
| void | Deregisters and cleans up all routes managed by this component. | ||
| bool | HttpSendMessageToListener
(
FString MessageCategory, |
Send a message to all listeners qith a custom category and payload for consumption by external processes. | |
| bool | HttpUpdateIpOnListener
(
FString TargetName, |
Send a message to all listeners describing the game IP of the current process. | |
| void | Registration function for RPCs that should always be enabled as long as this Registration Component is active. | ||
| void | RegisterHttpCallback
(
FExternalRouteInfo InRouteInfo, |
Hooks up a given delegate to the assigned route for external access. | |
| void | RegisterHttpCallback
(
FName RouteName, |
Hooks up a given delegate to the assigned route for external access. |