![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AppleHttp.h>
Inheritance diagram for FAppleHttpResponse:Friends | |
| class | FAppleHttpRequest |
Additional Inherited Members | |
Protected Member Functions inherited from FHttpResponseCommon | |
| void | SetRequestStatus (EHttpRequestStatus::Type InCompletionStatus) |
| void | SetRequestFailureReason (EHttpFailureReason InFailureReason) |
| void | SetEffectiveURL (const FString &InEffectiveURL) |
| void | SetResponseCode (int32 InResponseCode) |
| void | AppendToPayload (const uint8 *Ptr, int64 Size) |
Protected Attributes inherited from FHttpResponseCommon | |
| FString | URL |
| FString | EffectiveURL |
| EHttpRequestStatus::Type | CompletionStatus |
| EHttpFailureReason | FailureReason |
| int32 | ResponseCode = EHttpResponseCodes::Unknown |
| TArray< uint8 > | Payload |
| TMap< FString, FString > | Headers |
| bool | bIsReady = false |
Apple implementation of an Http response
| FAppleHttpResponse::FAppleHttpResponse | ( | FAppleHttpRequest & | InRequest | ) |
Constructor
| InRequest | - original request that created this response |
|
virtual |
Destructor
| void FAppleHttpResponse::CleanSharedObjects | ( | ) |
Cleans internal shared objects between request and response
|
overridevirtual |
Return all headers in an array in "Name: Value" format.
Implements IHttpBase.
|
overridevirtual |
Shortcut to get the Content-Length header value. Will not always return non-zero. If you want the real length of the payload, get the payload and check it's length.
Implements IHttpBase.
|
overridevirtual |
Shortcut to get the Content-Type header value (if available)
Implements IHttpBase.
| const uint64 FAppleHttpResponse::GetNumBytesReceived | ( | ) | const |
Get the number of bytes received so far
| const uint64 FAppleHttpResponse::GetNumBytesWritten | ( | ) | const |
Get the number of bytes sent so far
| FAppleHttpResponseDelegate * FAppleHttpResponse::GetResponseDelegate | ( | ) | const |
| bool FAppleHttpResponse::IsReady | ( | ) | const |
Check whether a response is ready or not.
| void FAppleHttpResponse::SetNewAppleHttpEventDelegate | ( | FNewAppleHttpEventDelegate && | Delegate | ) |
Sets delegate invoked when URLSession:dataTask:didReceiveData or URLSession:task:didCompleteWithError: are triggered Should be set right before task is started
|
friend |