![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AppleHttpObjc.h>
Inheritance diagram for FAppleHttpResponseDelegate:Public Attributes | |
| BOOL | bInitializedWithValidStream |
| BOOL | bAnyHttpActivity |
| FNewAppleHttpEventDelegate | NewAppleHttpEventDelegate |
Properties | |
| NSURLResponse * | Response |
| uint64 | BytesWritten |
| uint64 | BytesReceived |
| EHttpRequestStatus::Type | RequestStatus |
| EHttpFailureReason | FailureReason |
| TWeakPtr< FAppleHttpRequest > | SourceRequest |
Class to hold data from delegate implementation notifications.
| - (void) URLSession: | (NSURLSession *) | session | |
| dataTask: | (NSURLSessionDataTask *) | dataTask | |
| didReceiveData: | (NSData *) | data | |
Sent when data is available for the delegate to consume. Data may be discontiguous
| - (void) URLSession: | (NSURLSession *) | session | |
| dataTask: | (NSURLSessionDataTask *) | dataTask | |
| didReceiveResponse: | (NSURLResponse *) | response | |
| completionHandler: | (void(^)(NSURLSessionResponseDisposition disposition)) | completionHandler | |
The task has received a response and no further messages will be received until the completion block is called.
| - (void) URLSession: | (NSURLSession *) | session | |
| dataTask: | (NSURLSessionDataTask *) | dataTask | |
| willCacheResponse: | (NSCachedURLResponse *) | proposedResponse | |
| completionHandler: | (void(^)(NSCachedURLResponse *cachedResponse)) | completionHandler | |
Asks the delegate if it needs to store responses in the cache.
| - (void) URLSession: | (NSURLSession *) | session | |
| task: | (NSURLSessionTask *) | task | |
| didCompleteWithError: | (nullable NSError *) | error | |
Sent as the last message related to a specific task. A nil Error implies that no error occurred and this task is complete.
| - (void) URLSession: | (NSURLSession *) | session | |
| task: | (NSURLSessionTask *) | task | |
| didSendBodyData: | (int64_t) | bytesSent | |
| totalBytesSent: | (int64_t) | totalBytesSent | |
| totalBytesExpectedToSend: | (int64_t) | totalBytesExpectedToSend | |
NSURLSessionDataDelegate delegate methods. Those are called from a thread controlled by the NSURLSession Sent periodically to notify the delegate of upload progress.
| - (BOOL) bAnyHttpActivity |
Have we received any data?
| - (BOOL) bInitializedWithValidStream |
| - (FNewAppleHttpEventDelegate) NewAppleHttpEventDelegate |
Delegate invoked after processing URLSession:dataTask:didReceiveData or URLSession:task:didCompleteWithError:
|
readwriteatomic |
The total number of bytes received out during the request/response
|
readwriteatomic |
The total number of bytes written out during the request/response
|
readwriteatomic |
Reason of failure
|
readwriteatomic |
Request status
|
readwriteatomicretain |
A handle for the response
|
readwriteatomic |
Associated request. Cleared when canceled