Android Web Socket (#2978)

Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2978

Flipper Android WebSocket provider and socket implementation

Reviewed By: ldelgadoj

Differential Revision: D31683510

fbshipit-source-id: d553a7fdee9451da742e9ea3e6e5b6a2c9417579
This commit is contained in:
Lorenzo Blasa
2021-11-08 09:21:59 -08:00
committed by Facebook GitHub Bot
parent 8596dd951b
commit a935ab8a6c
13 changed files with 770 additions and 13 deletions

View File

@@ -123,6 +123,10 @@ std::string ConnectionContextStore::getCertificateDirectoryPath() {
return absoluteFilePath("");
}
std::string ConnectionContextStore::getCACertificatePath() {
return absoluteFilePath(FLIPPER_CA_FILE_NAME);
}
bool ConnectionContextStore::resetState() {
// Clear in-memory state
csr = "";

View File

@@ -22,6 +22,7 @@ class ConnectionContextStore {
std::string getCertificateSigningRequest();
std::shared_ptr<folly::SSLContext> getSSLContext();
std::string getCertificateDirectoryPath();
std::string getCACertificatePath();
std::string getDeviceId();
void storeConnectionConfig(folly::dynamic& config);
bool resetState();