Navigation
API > API/Runtime > API/Runtime/HTTP > API/Runtime/HTTP/FHttpRequestAdapterBase
Description
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()
Virtual Inheritance
- IHttpRequest::AppendToHeader → FHttpRequestAdapterBase::AppendToHeader
| Name | AppendToHeader |
| Type | function |
| Header File | /Engine/Source/Runtime/Online/HTTP/Public/HttpRequestAdapter.h |
| Include Path | #include "HttpRequestAdapter.h" |
| Source | /Engine/Source/Runtime/Online/HTTP/Private/HttpRequestAdapter.cpp |
virtual void AppendToHeader
(
const FString & HeaderName,
const FString & AdditionalHeaderValue
)
Parameters
| Name | Remarks |
|---|---|
| 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 |