IWebBrowserSchemeHandler::ReadResponse

Retrieves the headers for this request.

Windows
MacOS
Linux

References

Module

WebBrowser

Header

/Engine/Source/Runtime/WebBrowser/Public/IWebBrowserSchemeHandler.h

Include

#include "IWebBrowserSchemeHandler.h"

Syntax

bool ReadResponse
(
    uint8 * OutBytes,
    int32 BytesToRead,
    int32 & BytesRead,
    const FSimpleDelegate & OnMoreDataReady
)

Remarks

Retrieves the headers for this request.

Returns

You should return true if more data needs to be read, otherwise false if this is the end of the response data.

Parameters

Parameter

Description

OutBytes

You should copy up to BytesToRead of data to this ptr.

BytesToRead

The maximum number of bytes that can be copied to OutBytes.

BytesRead

You should set this to the number of bytes that were copied. This can be set to zero, to indicate more data is not ready yet, and OnMoreDataReady must then be executed when there is.

OnMoreDataReady

You should execute this delegate when more data is available to read.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss