1
This commit is contained in:
@@ -24,6 +24,12 @@ typedef void (^KBStreamFetcherFinishHandler)(NSError *_Nullable error);
|
||||
// 必填:请求地址
|
||||
@property (nonatomic, strong) NSURL *url;
|
||||
|
||||
/// HTTP Method,默认为 GET
|
||||
@property (nonatomic, copy, nullable) NSString *httpMethod;
|
||||
|
||||
/// 自定义请求体(例如 POST 的 JSON body)
|
||||
@property (nonatomic, strong, nullable) NSData *httpBody;
|
||||
|
||||
// 可选 Header
|
||||
@property (nonatomic, copy, nullable) NSDictionary<NSString *, NSString *> *extraHeaders;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user