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