Files
flipper/iOS/FlipperKit/FlipperResponder.h
Pritesh Nandgaonkar 79b2cf712d Rename SonarResponder to FlipperResponder
Summary: Rename SonarResponder to FlipperResponder

Reviewed By: passy

Differential Revision: D9939713

fbshipit-source-id: 6792ec6529907ee98a070af9e26064bb5fcc07ef
2018-09-19 16:43:42 -07:00

26 lines
512 B
Objective-C

/*
* 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