UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AppleHttpObjc.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "AppleHttp.h"
7
8#import <Foundation/Foundation.h>
9
15{
16 // Flag to indicate the request was initialized with stream. In that case even if stream was set to
17 // null later on internally, the request itself won't cache received data anymore
26
28@property(retain) NSURLResponse* Response;
30@property uint64 BytesWritten;
32@property uint64 BytesReceived;
34@property EHttpRequestStatus::Type RequestStatus;
36@property EHttpFailureReason FailureReason;
38@property TWeakPtr<FAppleHttpRequest> SourceRequest;
43- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend;
45- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveResponse:(NSURLResponse *)response completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler;
47- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data;
49- (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(nullable NSError *)error;
51- (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask willCacheResponse:(NSCachedURLResponse *)proposedResponse completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler;
52@end
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
FPlatformTypes::uint64 uint64
A 64-bit unsigned integer.
Definition Platform.h:1117
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
auto Response
Definition ExternalRpcRegistry.cpp:598
EHttpFailureReason
Definition IHttpBase.h:59
Definition AppleHttp.cpp:19
FNewAppleHttpEventDelegate NewAppleHttpEventDelegate
Definition AppleHttpObjc.h:25
BOOL bInitializedWithValidStream
Definition AppleHttpObjc.h:19
BOOL bAnyHttpActivity
Definition AppleHttpObjc.h:22
Definition SharedPointer.h:1295
Type
Definition IHttpBase.h:13
int32 BOOL
Definition MinimalWindowsApi.h:64