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