zdk.objc
ZDKProxyConfig.h
1//
2// ZDKProxyConfig.h
3// ZDK
4//
5
6#ifndef ZDKProxyConfig_h
7#define ZDKProxyConfig_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKProxyProtocolType.h"
11#import "ZDKProxyModeType.h"
12#import "ZDKZHandle.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
23
30@property(nonatomic, readonly) ZDKProxyProtocolType protocol;
31
38@property(nonatomic, readonly) ZDKProxyModeType mode;
39
44@property(nonatomic, readonly) NSString* _Nullable hostname;
45
50@property(nonatomic, readonly) unsigned int port;
51
56@property(nonatomic, readonly) NSString* _Nullable username;
57
62@property(nonatomic, readonly) NSString* _Nullable password;
63
64-(NSString*)handlesDescription;
65
66@end
67
68NS_ASSUME_NONNULL_END
69
70#endif
Proxy configuration.
Definition: ZDKProxyConfig.h:22
unsigned int port
The proxy port.
Definition: ZDKProxyConfig.h:50
ZDKProxyProtocolType protocol
The protocol whose the settings belong.
Definition: ZDKProxyConfig.h:30
ZDKProxyModeType mode
The proxy mode whose the settings belong.
Definition: ZDKProxyConfig.h:38
NSString *_Nullable username
The username to use when authenticating.
Definition: ZDKProxyConfig.h:56
NSString *_Nullable password
The password to use when authenticating.
Definition: ZDKProxyConfig.h:62
NSString *_Nullable hostname
The proxy hostname.
Definition: ZDKProxyConfig.h:44
Definition: ZDKZHandle.h:13