10#import <Foundation/Foundation.h>
12NS_ASSUME_NONNULL_BEGIN
20@protocol ApplilinkURLConnectionDelegate <NSObject>
26- (void)failLoadWithError:(nullable NSError *)error;
31- (void)finishLoadWithResponse:(nullable NSString *)response;
37- (BOOL)redirectStartLoad:(nullable NSURLRequest *)request;
69- (void)loadRequestWithRequest:(nullable NSURLRequest *)request
70 delegate:(nullable
id<ApplilinkURLConnectionDelegate>)delegate;
Runs one NSURLConnection and reports its outcome to a delegate.
Definition ApplilinkURLConnection.h:43
NSURLResponse * responseData
The response received for the current request.
Definition ApplilinkURLConnection.h:61
NSMutableData * receivedData
The buffer the response body is accumulated into.
Definition ApplilinkURLConnection.h:55
id< ApplilinkURLConnectionDelegate > connectionDelegate
The delegate told about the connection's outcome.
Definition ApplilinkURLConnection.h:49