1234567891011121314151617181920212223242526272829 |
- //
- // RQHTTPRequest.h
- // RQCommon
- //
- // Created by 张嵘 on 2018/11/16.
- // Copyright © 2018 张嵘. All rights reserved.
- // 网络服务层 - 请求
- #import <Foundation/Foundation.h>
- #import "RQURLParameters.h"
- #import "RACSignal+RQHTTPServiceAdditions.h"
- @interface RQHTTPRequest : NSObject
- /// 请求参数
- @property (nonatomic, readonly, strong) RQURLParameters *urlParameters;
- /**
- 获取请求类
- @param parameters 参数模型
- @return 请求类
- */
- + (instancetype)requestWithParameters:(RQURLParameters *)parameters;
- @end
- /// RQHTTPService的分类
- @interface RQHTTPRequest (RQHTTPService)
- /// 入队
- - (RACSignal *)enqueueResultClass:(Class /*subclass of RQObject*/)resultClass;
- @end
|