Files
MapLibreParticleLab/platform/darwin/src/MLNNetworkResponse.h
AtlasProgramming 467f3ca57f Adds some network delegate methods (#3917)
Co-authored-by: “Malcolm <“mtoon@atlasprogramming.com”>
2025-11-04 17:41:58 +01:00

20 lines
493 B
Objective-C

#import <Foundation/Foundation.h>
#import "MLNFoundation.h"
NS_ASSUME_NONNULL_BEGIN
MLN_EXPORT
@interface MLNNetworkResponse : NSObject
@property (retain, nullable) NSError *error;
@property (retain, nullable) NSData *data;
@property (retain, nullable) NSURLResponse *response;
+ (MLNNetworkResponse *)responseWithData:(NSData *)data
urlResponse:(NSURLResponse *)response
error:(NSError *)error;
@end
NS_ASSUME_NONNULL_END