5#include "CoreMinimal.h"
6#include "Interfaces/IHttpRequest.h"
ELootLockerHTTPExecutionQueueProcessingResult
Outcome codes returned by the HTTP execution queue's per-tick processing loop.
Definition LootLockerHTTPExecutionQueueItem.h:15
@ ShouldBeRetried
The request failed with a retryable error (e.g.
Definition LootLockerHTTPExecutionQueueItem.h:38
@ NeedsSessionRefresh
The server returned a 401/403 that can potentially be resolved by refreshing the player session.
Definition LootLockerHTTPExecutionQueueItem.h:44
@ WaitForNextTick
The item is still in-flight; check again next tick.
Definition LootLockerHTTPExecutionQueueItem.h:20
@ None
No determination made (initial / sentinel value).
Definition LootLockerHTTPExecutionQueueItem.h:17
@ Completed_Failed
The HTTP exchange completed and returned a failure response.
Definition LootLockerHTTPExecutionQueueItem.h:26
@ Completed_TimedOut
The request timed out waiting for a server response or for a session-refresh handshake to complete.
Definition LootLockerHTTPExecutionQueueItem.h:32
@ Completed_Success
The HTTP exchange completed and returned a success response.
Definition LootLockerHTTPExecutionQueueItem.h:23
Pairs a pending FLootLockerHTTPRequestData with its active IHttpRequest handle.
Definition LootLockerHTTPExecutionQueueItem.h:55
FDateTime RetryAfter
When non-zero, the request must not be retried until after this point in time (honouring a Retry-Afte...
Definition LootLockerHTTPExecutionQueueItem.h:77
void AbortRequest()
Cancels the in-flight IHttpRequest and releases the shared pointer.
Definition LootLockerHTTPExecutionQueueItem.h:99
bool bIsWaitingForSessionRefresh
True while the queue is waiting for a session-refresh handshake to complete before re-issuing this re...
Definition LootLockerHTTPExecutionQueueItem.h:83
FLootLockerResponse Response
The final response.
Definition LootLockerHTTPExecutionQueueItem.h:92
TSharedPtr< IHttpRequest, ESPMode::ThreadSafe > HttpRequest
The underlying Unreal HTTP request object.
Definition LootLockerHTTPExecutionQueueItem.h:64
bool bDone
True once the item has reached a terminal state (success, failure, or exhausted retries).
Definition LootLockerHTTPExecutionQueueItem.h:89
FLootLockerHTTPRequestData RequestData
The logical request (endpoint, verb, body, listeners, retry count, …).
Definition LootLockerHTTPExecutionQueueItem.h:57
double RequestStartTime
Wall-clock time (FPlatformTime::Seconds()) at which the HTTP request was most recently dispatched via...
Definition LootLockerHTTPExecutionQueueItem.h:70
Captures everything needed to dispatch — and later retry — a single SDK HTTP request.
Definition LootLockerHTTPRequestData.h:15
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19