Summary: The changes below add the notion of alternative ports to Flipper. These alternative ports are meant to and will be used to connect via WebSocket instead of RSocket. The name does not suggest that as to make as generic as possible so that they can be reused for different purposes in the future. Reviewed By: passy Differential Revision: D30898874 fbshipit-source-id: 5eed8c61b41b502c859192aaac59c284b7b36228
22 lines
470 B
Objective-C
22 lines
470 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#ifdef FB_SONARKIT_ENABLED
|
|
|
|
/*
|
|
* This class exists to retreive configuration values stored in environment
|
|
* variables.
|
|
*/
|
|
@interface SKEnvironmentVariables : NSObject
|
|
+ (int)getInsecurePort;
|
|
+ (int)getSecurePort;
|
|
+ (int)getAltInsecurePort;
|
|
+ (int)getAltSecurePort;
|
|
@end
|
|
|
|
#endif
|