send method
Sends a payload to the connected server
Implementation
@override
Future<void> send(KuzzleRequest request) async {
if (_webSocket != null && _webSocket!.readyState == WebSocket.open) {
_webSocket!.add(json.encode(request));
}
}
Sends a payload to the connected server
@override
Future<void> send(KuzzleRequest request) async {
if (_webSocket != null && _webSocket!.readyState == WebSocket.open) {
_webSocket!.add(json.encode(request));
}
}