Define alt ports for web socket connections

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
This commit is contained in:
Lorenzo Blasa
2021-09-15 07:58:45 -07:00
committed by Facebook GitHub Bot
parent 6359c82be1
commit 1390bf4a33
5 changed files with 43 additions and 1 deletions

View File

@@ -14,6 +14,8 @@
@interface SKEnvironmentVariables : NSObject
+ (int)getInsecurePort;
+ (int)getSecurePort;
+ (int)getAltInsecurePort;
+ (int)getAltSecurePort;
@end
#endif