This commit is contained in:
2025-10-28 10:18:10 +08:00
parent efb04d134e
commit 1deca2ae5b
166 changed files with 17288 additions and 1427 deletions

View File

@@ -0,0 +1,36 @@
#ifdef SHOULD_COMPILE_LOOKIN_SERVER
//
// LookinConnectionResponse.h
// Lookin
//
// Created by Li Kai on 2019/1/15.
// https://lookin.work
//
#import <Foundation/Foundation.h>
#import "LookinConnectionAttachment.h"
@interface LookinConnectionResponseAttachment : LookinConnectionAttachment
+ (instancetype)attachmentWithError:(NSError *)error;
@property(nonatomic, assign) int lookinServerVersion;
@property(nonatomic, strong) NSError *error;
/// 如果为 YES则表示 app 正处于后台模式,默认为 NO
@property(nonatomic, assign) BOOL appIsInBackground;
/**
dataTotalCount 为 0 时表示仅有这一个 response默认为 0
dataTotalCount 大于 0 时表示可能有多个 response当所有 response 的 currentDataCount 的总和大于 dataTotalCount 即表示所有 response 已接收完毕
*/
@property(nonatomic, assign) NSUInteger dataTotalCount;
@property(nonatomic, assign) NSUInteger currentDataCount;
@end
#endif /* SHOULD_COMPILE_LOOKIN_SERVER */