5#include "CoreMinimal.h"
6#include "Interfaces/IHttpRequest.h"
70 double RequestStartTime = 0.0;
77 FDateTime RetryAfter = FDateTime(0);
83 bool bIsWaitingForSessionRefresh =
false;
101 if (HttpRequest.IsValid())
103 HttpRequest->CancelRequest();
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.
@ NeedsSessionRefresh
The server returned a 401/403 that can potentially be resolved by refreshing the player session.
@ WaitForNextTick
The item is still in-flight; check again next tick.
@ None
No determination made (initial / sentinel value).
@ Completed_Failed
The HTTP exchange completed and returned a failure response.
@ Completed_TimedOut
The request timed out waiting for a server response or for a session-refresh handshake to complete.
@ Completed_Success
The HTTP exchange completed and returned a success response.
Pairs a pending FLootLockerHTTPRequestData with its active IHttpRequest handle.
Definition LootLockerHTTPExecutionQueueItem.h:55
void AbortRequest()
Cancels the in-flight IHttpRequest and releases the shared pointer.
Definition LootLockerHTTPExecutionQueueItem.h:99
FLootLockerResponse Response
The final response.
Definition LootLockerHTTPExecutionQueueItem.h:92
TSharedPtr< IHttpRequest, ESPMode::ThreadSafe > HttpRequest
The underlying Unreal HTTP request object.
Definition LootLockerHTTPExecutionQueueItem.h:64
FLootLockerHTTPRequestData RequestData
The logical request (endpoint, verb, body, listeners, retry count, …).
Definition LootLockerHTTPExecutionQueueItem.h:57
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