25 lines
686 B
Objective-C
25 lines
686 B
Objective-C
//
|
|
// DemoConfigLoader.h
|
|
// TrustHttpDNSTestDemo
|
|
//
|
|
// @author Created by Claude Code on 2025-10-05
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface DemoConfigLoader : NSObject
|
|
|
|
@property (nonatomic, copy, readonly) NSString *appId;
|
|
@property (nonatomic, copy, readonly) NSString *apiUrl; // Full raw URL
|
|
@property (nonatomic, copy, readonly) NSString *apiHost; // Parsed host
|
|
@property (nonatomic, assign, readonly) NSInteger apiPort; // Parsed port
|
|
@property (nonatomic, copy, readonly) NSString *signSecret;
|
|
@property (nonatomic, copy, readonly) NSString *serviceDomain;
|
|
|
|
@property (nonatomic, assign, readonly) BOOL hasValidConfig;
|
|
|
|
+ (instancetype)shared;
|
|
|
|
@end
|
|
|