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