UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IWebBrowserSchemeHandler::IHeaders Class Referenceabstract

#include <IWebBrowserSchemeHandler.h>

Public Member Functions

virtual void SetMimeType (const TCHAR *MimeType)=0
 
virtual void SetStatusCode (int32 StatusCode)=0
 
virtual void SetContentLength (int32 ContentLength)=0
 
virtual void SetRedirect (const TCHAR *Url)=0
 
virtual void SetHeader (const TCHAR *Key, const TCHAR *Value)=0
 

Detailed Description

An interface for setting response headers emulating a http implementation.

Member Function Documentation

◆ SetContentLength()

virtual void IWebBrowserSchemeHandler::IHeaders::SetContentLength ( int32  ContentLength)
pure virtual

Sets the content length for the response.

Parameters
ContentLengthThe size of the response content in bytes.

◆ SetHeader()

virtual void IWebBrowserSchemeHandler::IHeaders::SetHeader ( const TCHAR Key,
const TCHAR Value 
)
pure virtual

Sets a header for the response.

Parameters
KeyThe header key.
ValueThe header value.

◆ SetMimeType()

virtual void IWebBrowserSchemeHandler::IHeaders::SetMimeType ( const TCHAR MimeType)
pure virtual

Sets the mime type for the response.

Parameters
MimeTypeThe Mime Type.

◆ SetRedirect()

virtual void IWebBrowserSchemeHandler::IHeaders::SetRedirect ( const TCHAR Url)
pure virtual

Sets a redirect url for the response. Other calls will be ignored if this is used.

Parameters
UrlThe url to redirect to.

◆ SetStatusCode()

virtual void IWebBrowserSchemeHandler::IHeaders::SetStatusCode ( int32  StatusCode)
pure virtual

Sets the status code for the response.

Parameters
StatusCodeThe status code.

The documentation for this class was generated from the following file: