LootLocker Unreal SDK 10.7.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerFailedRequestReport.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "LootLockerFailedRequestReport.generated.h"
7
12USTRUCT(BlueprintType)
14{
15 GENERATED_BODY()
16
17
18 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
21 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
24 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
27 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
28 FString trace_id;
30 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
31 int32 status_code = 0;
33 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
34 FString message;
36 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
37 FString endpoint;
39 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
40 FString http_method;
42 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
45 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
46 TArray<FString> response_headers;
48 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
49 FString request_body;
51 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
52 TArray<FString> request_headers;
54 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
55 int32 retry_attempts = 0;
57 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
60 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
63 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
66 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
67 FString player_ulid;
68};
Data structure for storing information about failed requests for the purpose of error reporting.
Definition LootLockerFailedRequestReport.h:14
FString http_method
The HTTP method used for the request.
Definition LootLockerFailedRequestReport.h:40
float request_duration_seconds
The duration in seconds from when the request was first sent to when it ultimately failed.
Definition LootLockerFailedRequestReport.h:58
FString server_request_id
The unique server-generated identifier for the request (from error data).
Definition LootLockerFailedRequestReport.h:25
FString request_body
The raw JSON body of the request (obfuscated).
Definition LootLockerFailedRequestReport.h:49
int32 retry_attempts
The number of times the request was retried before ultimately failing.
Definition LootLockerFailedRequestReport.h:55
FString client_timestamp
The client-side timestamp of when the request was made (ISO 8601).
Definition LootLockerFailedRequestReport.h:64
FString player_ulid
The ULID of the player for whom the request was made.
Definition LootLockerFailedRequestReport.h:67
FString response_json_body
The raw JSON body of the response (obfuscated).
Definition LootLockerFailedRequestReport.h:43
TArray< FString > response_headers
The response headers returned by the server.
Definition LootLockerFailedRequestReport.h:46
FString trace_id
The unique trace identifier for the request (from error data).
Definition LootLockerFailedRequestReport.h:28
FString endpoint
The endpoint URL the request was sent to.
Definition LootLockerFailedRequestReport.h:37
TArray< FString > request_headers
The request headers that were sent (sensitive headers removed).
Definition LootLockerFailedRequestReport.h:52
FString user_description
Optional developer-provided description of the events leading up to the failure.
Definition LootLockerFailedRequestReport.h:19
FString server_timestamp
The server timestamp from the Date response header (ISO 8601).
Definition LootLockerFailedRequestReport.h:61
FString client_request_id
The unique client-generated identifier for the request.
Definition LootLockerFailedRequestReport.h:22
int32 status_code
The HTTP status code returned by the server (or 0 if no response).
Definition LootLockerFailedRequestReport.h:31
FString message
The error message from the server or client.
Definition LootLockerFailedRequestReport.h:34