UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CEFBrowserByteResource.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "
CoreMinimal.h
"
6
7
#if WITH_CEF3
8
9
10
#include "
CEFLibCefIncludes.h
"
11
12
13
17
class
FCEFBrowserByteResource
18
:
public
CefResourceHandler
19
{
20
public
:
23
FCEFBrowserByteResource
(
const
CefRefPtr<CefPostDataElement>
& PostData,
const
FString&
InMimeType
);
24
~FCEFBrowserByteResource
();
25
26
// CefResourceHandler interface
27
virtual
void
Cancel
()
override
;
28
virtual
void
GetResponseHeaders(
CefRefPtr<CefResponse>
Response
,
29
#
if
CEF_VERSION_MAJOR
< 128
30
int64
&
ResponseLength
,
31
#
else
32
int64_t
&
ResponseLength
,
33
#
endif
34
CefString
&
RedirectUrl
)
override
;
35
virtual
bool
ProcessRequest(
CefRefPtr<CefRequest>
Request,
CefRefPtr<CefCallback>
Callback)
override
;
36
virtual
bool
ReadResponse(
void
*
DataOut
,
int
BytesToRead,
int
&
BytesRead
,
CefRefPtr<CefCallback>
Callback)
override
;
37
38
private
:
39
int32
Position
;
40
int32
Size
;
41
unsigned
char
*
Buffer
;
42
FString MimeType;
43
44
// Include the default reference counting implementation.
45
IMPLEMENT_REFCOUNTING
(
FCEFBrowserByteResource
);
46
};
47
48
49
#endif
EAsyncTaskNotificationPromptAction::Cancel
@ Cancel
CEFLibCefIncludes.h
CoreMinimal.h
int64
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition
Platform.h:1127
int32
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition
Platform.h:1125
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
ETransformCurveChannel::Position
@ Position
Response
auto Response
Definition
ExternalRpcRegistry.cpp:598
EPixelFormatCapabilities::Buffer
@ Buffer
Size
uint32 Size
Definition
VulkanMemory.cpp:4034
Engine
Source
Runtime
WebBrowser
Private
CEF
CEFBrowserByteResource.h
Generated by
1.9.8