Navigation
API > API/Plugins > API/Plugins/WebAPI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UDynamicSubsystem
- UEngineSubsystem
- UWebAPISubsystem
References
| Module | WebAPI |
| Header | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPI/Public/WebAPISubsystem.h |
| Include | #include "WebAPISubsystem.h" |
Syntax
UCLASS&40;&41;
class UWebAPISubsystem :
public UEngineSubsystem,
public FTickableGameObject,
public FWebAPIHttpRequestHandlerInterface,
public FWebAPIHttpResponseHandlerInterface
Remarks
Common functionality and top-level parent for shared objects.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TFuture< TTuple< TSharedPtr< IHttpResponse, ESPMode::ThreadSafe >, bool > > | MakeHttpRequest
(
const FString& InVerb, |
Convenience function to create a simple Http request. | |
| TObjectPtr< OperationType > | MakeOperation
(
const UWebAPIDeveloperSettings* InSettings |
Get or create pooled operation for the given OperationType. | |
| TObjectPtr< UWebAPIOperationObject > | MakeOperation
(
const UWebAPIDeveloperSettings* InSettings, |
Get or create pooled operation for the given OperationType. | |
| void | ReleaseOperation
(
const TObjectPtr< OperationType >& InOperation |
Returns the provided operation to the pool, making it available for re-use. | |
| void | ReleaseOperation
(
const TSubclassOf< UWebAPIOperationObject >& InClass, |
Returns the provided operation to the pool, making it available for re-use. | |
| void | RetryRequestsForHost
(
const FString& InHost |
Retry any failed and buffered requests for the given host. |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
Implement this for deinitialization of instances of the system | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Overridden from FTickableGameObject
| Type | Name | Description | |
|---|---|---|---|
| UWorld * | FTickableGameObject implementation Begin. |
Overridden from FTickableObjectBase
| Type | Name | Description | |
|---|---|---|---|
| TStatId | GetStatId () |
Return the stat id to use for this tickable | |
| ETickableTickType | Virtual that can be overloaded by the inheriting class. | ||
| bool | Virtual that can be overloaded by the inheriting class. | ||
| void | Tick
(
float DeltaTime |
Pure virtual that must be overloaded by the inheriting class. |