![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IHttpResponse.h>
Inheritance diagram for IHttpResponse:Public Member Functions | |
| virtual int32 | GetResponseCode () const =0 |
| virtual FString | GetContentAsString () const =0 |
| virtual FUtf8StringView | GetContentAsUtf8StringView () const =0 |
| virtual | ~IHttpResponse ()=default |
Public Member Functions inherited from IHttpBase | |
| virtual const FString & | GetURL () const =0 |
| virtual const FString & | GetEffectiveURL () const =0 |
| virtual EHttpRequestStatus::Type | GetStatus () const =0 |
| virtual EHttpFailureReason | GetFailureReason () const =0 |
| virtual FString | GetURLParameter (const FString &ParameterName) const =0 |
| virtual FString | GetHeader (const FString &HeaderName) const =0 |
| virtual TArray< FString > | GetAllHeaders () const =0 |
| virtual FString | GetContentType () const =0 |
| virtual uint64 | GetContentLength () const =0 |
| virtual const TArray< uint8 > & | GetContent () const =0 |
| virtual | ~IHttpBase ()=default |
Interface for Http responses that come back after starting an Http request
|
virtualdefault |
Destructor for overrides
|
pure virtual |
Returns the payload as a string, assuming the payload is UTF8.
Implemented in FHttpResponseCommon.
|
pure virtual |
Returns the payload as a utf8 string view. This does not validate that the response is valid utf8. It is the caller's responsibility, for example, by checking the Content-Type header
Implemented in FHttpResponseCommon.
Gets the response code returned by the requested server. See EHttpResponseCodes for known response codes
Implemented in FHttpResponseCommon.