FCohtmlRawResourceHandler
Public Functions #
| Name |
---|
bool | TryReadFile(const FString & Url, int64 Start, int64 End, bool bIsRangeRequest, TArray< uint8 > & OutBuffer, int64 & OutFileSize) |
void | ReadRawResource(const cohtml::IAsyncResourceRequest * Request, cohtml::IAsyncResourceResponse * Response, const FString & ResourcePath) |
bool | IsRangeRequest(int64 & Start, int64 & End, const cohtml::IAsyncResourceRequest * Request) |
void | SetResponseHeadersForCoui(int64 FileSize, int64 ContentSize, int64 Start, bool bIsRangeRequest, cohtml::IAsyncResourceResponse * Response) |
void | SetActiveSystem(TWeakPtr< class FCohtmlSystemWrapper, ESPMode::ThreadSafe > SystemPtr) |
Public Functions Documentation #
function TryReadFile #
bool TryReadFile(
const FString & Url,
int64 Start,
int64 End,
bool bIsRangeRequest,
TArray< uint8 > & OutBuffer,
int64 & OutFileSize
)
function ReadRawResource #
void ReadRawResource(
const cohtml::IAsyncResourceRequest * Request,
cohtml::IAsyncResourceResponse * Response,
const FString & ResourcePath
)
function IsRangeRequest #
bool IsRangeRequest(
int64 & Start,
int64 & End,
const cohtml::IAsyncResourceRequest * Request
)
void SetResponseHeadersForCoui(
int64 FileSize,
int64 ContentSize,
int64 Start,
bool bIsRangeRequest,
cohtml::IAsyncResourceResponse * Response
)
function SetActiveSystem #
void SetActiveSystem(
TWeakPtr< class FCohtmlSystemWrapper, ESPMode::ThreadSafe > SystemPtr
)