Skip to content
SiteEmail

FCohtmlRawResourceHandler

Name
boolTryEnqueueRawResource(const cohtml::IAsyncResourceRequest * Request, cohtml::IAsyncResourceResponse * Response, const FString & ResourcePath)
voidSetActiveSystem(TWeakPtr< class FCohtmlSystemWrapper, ESPMode::ThreadSafe > SystemPtr)
boolIsCurrentlyLoading()
voidAbortResourceRequest(unsigned Id)
voidCancelResourceRequests()
voidEnsureNoResourceRequests()
Name
voidReadRawResource(unsigned RequestId, const FPendingRawResourcePtr RawResource)
voidReadRawResource(const cohtml::IAsyncResourceRequest * Request, cohtml::IAsyncResourceResponse * Response, const FString & ResourcePath)
boolTryReadFile(const FString & Url, int64 Start, int64 End, bool bIsRangeRequest, TArray< uint8 > & OutBuffer, int64 & OutFileSize)
boolIsRangeRequest(int64 & Start, int64 & End, const cohtml::IAsyncResourceRequest * Request)
voidSetResponseHeadersForCoui(int64 FileSize, int64 ContentSize, int64 Start, bool bIsRangeRequest, cohtml::IAsyncResourceResponse * Response)
bool TryEnqueueRawResource(
const cohtml::IAsyncResourceRequest * Request,
cohtml::IAsyncResourceResponse * Response,
const FString & ResourcePath
)
void SetActiveSystem(
TWeakPtr< class FCohtmlSystemWrapper, ESPMode::ThreadSafe > SystemPtr
)
bool IsCurrentlyLoading()
void AbortResourceRequest(
unsigned Id
)
void CancelResourceRequests()
void EnsureNoResourceRequests()
void ReadRawResource(
unsigned RequestId,
const FPendingRawResourcePtr RawResource
)
void ReadRawResource(
const cohtml::IAsyncResourceRequest * Request,
cohtml::IAsyncResourceResponse * Response,
const FString & ResourcePath
)
bool TryReadFile(
const FString & Url,
int64 Start,
int64 End,
bool bIsRangeRequest,
TArray< uint8 > & OutBuffer,
int64 & OutFileSize
)
bool IsRangeRequest(
int64 & Start,
int64 & End,
const cohtml::IAsyncResourceRequest * Request
)
void SetResponseHeadersForCoui(
int64 FileSize,
int64 ContentSize,
int64 Start,
bool bIsRangeRequest,
cohtml::IAsyncResourceResponse * Response
)