Navigation
API > API/Plugins > API/Plugins/HttpBlueprint
Provides a way for blueprint to create and store a map of HTTP headers
| Name | FHttpHeader |
| Type | struct |
| Header File | /Engine/Plugins/Web/HttpBlueprint/Source/HttpBlueprint/Public/HttpHeader.h |
| Include Path | #include "HttpHeader.h" |
Syntax
USTRUCT (BlueprintType )
struct FHttpHeader
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Headers | TMap< FString, FString > | Header key/value pairs. | HttpHeader.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Adds a new header key/value pair to the internal header map | HttpHeader.h | ||
void AssignHeadersToRequest
(
const TSharedRef< class IHttpRequest >& Request |
Convenience function to set all of the headers in the internal header map on the request object. | HttpHeader.h | |
| Returns the internal header map as an array | HttpHeader.h | ||
| Returns a copy of the internal header map | HttpHeader.h | ||
| Returns the header value associated with the Key | HttpHeader.h | ||
bool IsValid() |
Returns if the header is valid or not. This is done by checking the map size | HttpHeader.h | |
bool RemoveHeader
(
FString&& HeaderToRemove |
Removes a header from the internal header map | HttpHeader.h | |
FHttpHeader SetHeaders
(
const TMap< FString, FString >& NewHeaders |
Sets the internal headers. Will overwrite any headers already in the map | HttpHeader.h |