onSent abstract method
Records an outbound frame. url and metrics are optional context.
messageId correlates this frame with its reply instead of the whole
connection session, for clients that carry request identifiers.
Implementation
void onSent(
Object data, {
String? url,
Map<String, Object?>? metrics,
String? messageId,
});