OBSHTTPProxyConfiguration Class Reference
Inherits from | NSObject |
---|---|
Declared in | OBSBaseModel.h OBSBaseModel.m |
proxyType
允许的访问类型
@property (nonatomic, assign) OBSHTTPProxyType proxyType
Declared In
OBSBaseModel.h
proxyHost
代理Host
@property (nonatomic, strong, nonnull) NSString *proxyHost
Declared In
OBSBaseModel.h
proxyPort
代理Port
@property (nonatomic, strong, nonnull) NSNumber *proxyPort
Declared In
OBSBaseModel.h
username
代理服务账号
@property (nonatomic, strong, nonnull) NSString *username
Declared In
OBSBaseModel.h
password
代理服务密码
@property (nonatomic, strong, nonnull) NSString *password
Declared In
OBSBaseModel.h
– initWithType:proxyHost:proxyPort:
端口代理初始化
- (instancetype)initWithType:(OBSHTTPProxyType)proxyType proxyHost:(NSString *)host proxyPort:(NSUInteger)port
Parameters
proxyType |
请求类型(OBSHTTPRroxyTypeNull0 OBSHTTPRroxyTypeHTTP OBSHTTPRroxyTypeHTTPS OBSHTTPRroxyTypeHTTPAndHTTPS) |
---|---|
host |
host |
port |
port |
Return Value
代理对象
Declared In
OBSBaseModel.h