Rename SonarResponder to FlipperResponder
Summary: Rename SonarResponder to FlipperResponder Reviewed By: passy Differential Revision: D9939713 fbshipit-source-id: 6792ec6529907ee98a070af9e26064bb5fcc07ef
This commit is contained in:
committed by
Facebook Github Bot
parent
0e753e684f
commit
79b2cf712d
25
iOS/FlipperKit/FlipperResponder.h
Normal file
25
iOS/FlipperKit/FlipperResponder.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2018-present, Facebook, Inc.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the LICENSE
|
||||
* file in the root directory of this source tree.
|
||||
*
|
||||
*/
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
Acts as a hook for providing return values to remote called from Sonar desktop plugins.
|
||||
*/
|
||||
@protocol FlipperResponder
|
||||
|
||||
/**
|
||||
Respond with a successful return value.
|
||||
*/
|
||||
- (void)success:(NSDictionary *)response;
|
||||
|
||||
/**
|
||||
Respond with an error.
|
||||
*/
|
||||
- (void)error:(NSDictionary *)response;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user