Track secure connection attempts
Summary: Same as previous diff but for TLS attempts. Reviewed By: antonk52 Differential Revision: D46220897 fbshipit-source-id: 9495c39edffbdebe0ba21ec7320b63bad8759dde
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8065313949
commit
135d3e3aa8
@@ -9,6 +9,14 @@
|
||||
|
||||
import {getLogger} from 'flipper-common';
|
||||
|
||||
type AppConnectionPayload = {
|
||||
app: string;
|
||||
os: string;
|
||||
device: string;
|
||||
device_id: string;
|
||||
medium: number | undefined;
|
||||
};
|
||||
|
||||
type TrackerEvents = {
|
||||
'server-started': {port: number; tcp: boolean};
|
||||
'server-auth-token-verification': {
|
||||
@@ -18,13 +26,8 @@ type TrackerEvents = {
|
||||
};
|
||||
'server-socket-already-in-use': {};
|
||||
'server-proxy-error': {error: string};
|
||||
'app-connection-created': {
|
||||
app: string;
|
||||
os: string;
|
||||
device: string;
|
||||
device_id: string;
|
||||
medium: number | undefined;
|
||||
};
|
||||
'app-connection-created': AppConnectionPayload;
|
||||
'app-connection-secure-attempt': AppConnectionPayload;
|
||||
};
|
||||
|
||||
class ServerCoreTracker {
|
||||
|
||||
Reference in New Issue
Block a user