UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WinHttpWebSocketTypes.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_WEBSOCKETS && WITH_WINHTTPWEBSOCKETS
6
7#include "CoreMinimal.h"
8
10#define UE_WEBSOCKET_CLOSE_NORMAL_CLOSURE 1000
12#define UE_WEBSOCKET_CLOSE_APP_FAILURE 1006
13
18{
19 Binary,
20 Utf8
21};
22
26const TCHAR* LexToString(const EWebSocketMessageType MessageType);
27
32{
33 FPendingWebSocketMessage() = default;
36
37public:
39 EWebSocketMessageType MessageType = EWebSocketMessageType::Binary;
42};
43
48{
51
52public:
54 uint16 Code = 0u;
56 FString Reason;
57};
58
59#endif // WITH_WEBSOCKETS && WITH_WINHTTPWEBSOCKETS
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const TCHAR * LexToString(EAnalyticsRecordEventMode Mode)
Definition IAnalyticsProvider.cpp:5
uint8_t uint8
Definition binka_ue_file_header.h:8
uint16_t uint16
Definition binka_ue_file_header.h:7
Definition Array.h:670
GeometryCollection::Facades::FMuscleActivationData Data
Definition MuscleActivationConstraints.h:15