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
"
8
#include "
WinHttp/Support/WinHttpHandle.h
"
9
10
class
IWinHttpConnection
;
11
12
using
HINTERNET
=
void
*;
13
14
class
FWinHttpSession
15
{
16
public
:
20
HTTP_API
FWinHttpSession
(
const
uint32
SecurityProtocolFlags
,
const
bool
bForceSecureConnections
);
21
25
FWinHttpSession
(
const
FWinHttpSession
&
Other
) =
delete
;
26
FWinHttpSession
(
FWinHttpSession
&&
Other
) =
default
;
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
47
HTTP_API
bool
AreOnlySecureConnectionsAllowed
()
const
;
48
49
private
:
51
FWinHttpHandle
SessionHandle
;
53
bool
bForceSecureConnections
=
false
;
54
};
55
56
#endif
// WITH_WINHTTP
EARSessionStatus::Other
@ Other
EChaosVDManifoldPointFlags::IsValid
@ IsValid
CoreMinimal.h
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
WinHttpHandle.h
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
ObjectPtr_Private::Get
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition
ObjectPtr.h:426
Engine
Source
Runtime
Online
HTTP
Internal
WinHttp
Support
WinHttpSession.h
Generated by
1.9.8