Navigation
API > API/Runtime > API/Runtime/ExternalRpcRegistry
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UExternalRpcRegistry
References
| Module | ExternalRpcRegistry |
| Header | /Engine/Source/Runtime/ExternalRPCRegistry/Public/ExternalRpcRegistry.h |
| Include | #include "ExternalRpcRegistry.h" |
Syntax
UCLASS (MinimalAPI)
class UExternalRpcRegistry : public UObject
Remarks
This class is designed to be a singleton that handles registry, maintenance, and cleanup of any REST endpoints exposed on the process for use in communicating with the process externally.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FString > | ActiveRpcCategories | ||
| int | PortToUse | ||
| TMap< FName, FExternalRouteDesc > | RegisteredRoutes |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clean up all routes - generally called as part of the destructor to make sure we don't have any function pointers dangling around. | ||
| void | CleanUpRoute
(
FName RouteName, |
Clean up a route. Can be set to fail if trying to unbind an unbound route. | |
| UExternalRpcRegistry * | GetInstance () |
||
| bool | GetRegisteredRoute
(
FName RouteName, |
Try to get a route registered under given friendly name. Returns false if could not be found. | |
| bool | HttpListOpenRoutes
(
const FHttpServerRequest& Request, |
Default Route Listing http call. | |
| bool | IsActiveRpcCategory
(
FString InCategory |
Check if this Rpc is from a category that is meant to be enabled. | |
| void | RegisterNewRoute
(
FExternalRouteInfo InRouteInfo, |
||
| void | RegisterNewRoute
(
FName RouteName, |
Deprecated way to register a new route. | |
| void | RegisterNewRouteWithArguments
(
FName RouteName, |
Register a new route. |
Constants
| Name | Description |
|---|---|
| ObjectInstance |