addWebSocketProfilingData function
Records the data associated with a WebSocket connection for profiling purposes.
This function should never be called directly. Instead, use package:http_profile.
Implementation
void addWebSocketProfilingData(Map<String, dynamic> connectionProfile) {
_webSocketProfilingData.add(connectionProfile);
connectionProfile['id'] = 'from_package/${_webSocketProfilingData.length}';
}