receive method
Records an incoming frame received from the server. Safe to call.
Implementation
void receive(dynamic data, {String? eventName}) {
if (_isClosed || !_shouldCapture) return;
guardCapture(
() => _record(data, FrameDirection.incoming, eventName: eventName));
}