APRiskRPCProtocol.h 792 B

123456789101112131415161718192021222324252627282930
  1. //
  2. // APRiskRPCProtocol.h
  3. // APPSecuritySDKAdapter
  4. //
  5. // Created by hongren on 2020/9/7.
  6. // Copyright © 2020 Alipay. All rights reserved.
  7. //
  8. #import "APRiskReportRequest.h"
  9. #import "APRiskReportResponse.h"
  10. #import "APRiskRpcConfiguration.h"
  11. #import "APRiskConfigReportRequest.h"
  12. #import "APRiskConfigReportResponse.h"
  13. @protocol APRiskRPCProtocol <NSObject>
  14. //gateway
  15. @required
  16. - (APRiskReportResponse *)sendStaticRequest:(APRiskReportRequest *)data
  17. config:(APRiskRpcConfiguration*)cfg;
  18. @required
  19. - (APRiskConfigReportResponse *)sendConfigReportRequest:(APRiskConfigReportRequest *)data
  20. config:(APRiskRpcConfiguration*)cfg;
  21. @required
  22. - (BOOL)updateLog:(NSString*)log
  23. config:(APRiskRpcConfiguration*)cfg;
  24. @end