QCloudEndPoint Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying |
| Declared in | QCloudEndPoint.h |
Overview
QCloud 云服务的服务器地址,如果您继承该类,并且添加了自定义的参数,请一定要实现NSCopying协议 QCloudServiceConfiguration 类种毕传参数 endpoint; 表示您的服务所在的区域
useHTTPS
是否启动HTTPS安全连接 @default NO
@property (nonatomic, assign) BOOL useHTTPSDeclared In
QCloudEndPoint.h
serviceName
服务的基础名称
@property (nonatomic, copy) QCloudServiceName serviceNameDeclared In
QCloudEndPoint.h
serverURLLiteral
字面URL地址,改地址将作为一个字面量直接返回。
@property (nonatomic, strong, readonly) NSURL *serverURLLiteralDeclared In
QCloudEndPoint.h
– initWithLiteralURL:
通过一个包含字面URL地址的变量初始化endpoint
- (instancetype)initWithLiteralURL:(NSURL *)urlParameters
url |
字面URL地址 |
|---|
Return Value
endpoint实例
Declared In
QCloudEndPoint.h
– serverURLWithBucket:appID:regionName:
通过存储桶名称和用户的appid构建服务地址
- (NSURL *)serverURLWithBucket:(NSString *)bucket appID:(NSString *)appID regionName:(NSString *)regionNameParameters
bucket |
存储桶名称 |
|---|---|
appID |
appid |
Return Value
对指称的用户的存储桶提供服务的服务器地址
Declared In
QCloudEndPoint.h