FHttpRequestAdapterBase::AppendToHeader

Appends to the value already set in the header.

Windows
MacOS
Linux

Override Hierarchy

IHttpRequest::AppendToHeader()

FHttpRequestAdapterBase::AppendToHeader()

References

Module

HTTP

Header

/Engine/Source/Runtime/Online/HTTP/Public/HttpRequestAdapter.h

Include

#include "HttpRequestAdapter.h"

Syntax

virtual void AppendToHeader
(
    const FString & HeaderName,
    const FString & AdditionalHeaderValue
)

Remarks

Appends to the value already set in the header. If there is already content in that header, a comma delimiter is used. If the header is as of yet unset, the result is the same as calling SetHeader Content-Length is the only header set for you. Also see: SetHeader()

Parameters

Parameter

Description

HeaderName

Name of the header (ie, Content-Type)

AdditionalHeaderValue

Value to add to the existing contents of the specified header. comma is inserted between old value and new value, per HTTP specifications

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