UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WinHttpHandle.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"
8
9using HINTERNET = void*;
10
12{
13public:
17 FWinHttpHandle() = default;
18
23
28
29 // Copy/Move constructors
30 FWinHttpHandle(const FWinHttpHandle& Other) = delete;
32 FWinHttpHandle& operator=(const FWinHttpHandle& Other) = delete;
34
42
46 HTTP_API void Reset();
47
53 HTTP_API explicit operator bool() const;
54
60 HTTP_API bool IsValid() const;
61
67 HTTP_API HINTERNET Get() const;
68
69protected:
73 HINTERNET Handle = nullptr;
74};
75
76#endif // WITH_WINHTTP
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426