send method
Send the supplied bytes verbatim.
Implementation
@override
Future<void> send(List<int> bytes) async {
final ws = _ws;
if (ws == null || _closed) {
throw StateError('WebSocketOpcUaByteTransport not open');
}
// `add` on a binary-typed payload triggers a single binary
// WebSocket frame.
ws.add(bytes);
}