Inteface for Http responses that come back after starting an Http request 更多...
#include <IHttpResponse.h>
类 IHttpResponse 继承关系图:Public 成员函数 | |
| virtual FString | GetContentAsString () const =0 |
| Returns the payload as a string, assuming the payload is UTF8. 更多... | |
| virtual int32 | GetResponseCode () const =0 |
| Gets the response code returned by the requested server. 更多... | |
| virtual | ~IHttpResponse ()=default |
| Destructor for overrides | |
Public 成员函数 继承自 IHttpBase | |
| virtual TArray< FString > | GetAllHeaders () const =0 |
| Return all headers in an array in "Name: Value" format. 更多... | |
| virtual const TArray< uint8 > & | GetContent () const =0 |
| Get the content payload of the request or response. 更多... | |
| virtual int32 | GetContentLength () const =0 |
| Shortcut to get the Content-Length header value. 更多... | |
| virtual FString | GetContentType () const =0 |
| Shortcut to get the Content-Type header value (if available) 更多... | |
| virtual FString | GetHeader (const FString &HeaderName) const =0 |
| Gets the value of a header, or empty string if not found. 更多... | |
| virtual FString | GetURL () const =0 |
| Get the URL used to send the request. 更多... | |
| virtual FString | GetURLParameter (const FString &ParameterName) const =0 |
| Gets an URL parameter. 更多... | |
| virtual | ~IHttpBase ()=default |
| Destructor for overrides | |
Inteface for Http responses that come back after starting an Http request
|
pure virtual |
Returns the payload as a string, assuming the payload is UTF8.
|
pure virtual |
Gets the response code returned by the requested server.
See EHttpResponseCodes for known response codes