UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WinHttpSession.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_WINHTTP
6
7#include "CoreMinimal.h"
9
11
12using HINTERNET = void*;
13
15{
16public:
21
25 FWinHttpSession(const FWinHttpSession& Other) = delete;
27 FWinHttpSession& operator=(const FWinHttpSession& Other) = delete;
28 FWinHttpSession& operator=(FWinHttpSession&& Other) = default;
29
33 HTTP_API bool IsValid() const;
34
40 HTTP_API HINTERNET Get() const;
41
48
49private:
53 bool bForceSecureConnections = false;
54};
55
56#endif // WITH_WINHTTP
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint32_t uint32
Definition binka_ue_file_header.h:6
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426