IWebBrowserSchemeHandler

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

References

Module

WebBrowser

Header

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

Include

#include "IWebBrowserSchemeHandler.h"

Syntax

class IWebBrowserSchemeHandler

Remarks

This is the interface that needs to be implemented to handle a request made via a custom scheme. It will be created by implementing an IWebBrowserSchemeHandlerFactory, given to the web browser singleton.

Destructors

Name Description

Public function Virtual

~IWebBrowserSchemeHandler()

Functions

Name Description

Public function

void

 

Cancel()

Called if the request should be canceled.

Public function

void

 

GetResponseHeaders

(
    IHeaders& OutHeaders
)

Retrieves the headers for this request.

Public function

bool

 

ProcessRequest

(
    const FString& Verb,
    const FString& Url,
    const FSimpleDelegate& OnHeadersRe...
)

Process an incoming request.

Public function

bool

 

ReadResponse

(
    uint8* OutBytes,
    int32 BytesToRead,
    int32& BytesRead,
    const FSimpleDelegate& OnMoreDataR...
)

Retrieves the headers for this request.

Classes

Name

Description

Public class

IHeaders

An interface for setting response headers emulating a http implementation.

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