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
18 : public CefResourceHandler
19{
20public:
25
26 // CefResourceHandler interface
27 virtual void Cancel() override;
28 virtual void GetResponseHeaders(CefRefPtr<CefResponse> Response,
29#if CEF_VERSION_MAJOR < 128
31#else
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
38private:
40 int32 Size;
41 unsigned char* Buffer;
42 FString MimeType;
43
44 // Include the default reference counting implementation.
46};
47
48
49#endif
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
auto Response
Definition ExternalRpcRegistry.cpp:598
uint32 Size
Definition VulkanMemory.cpp:4034