From 66e14258fd8f7156b0b77d686ea9f92e51686823 Mon Sep 17 00:00:00 2001 From: Remy Bardou Date: Wed, 18 May 2022 19:01:01 +0200 Subject: [PATCH] fix comment --- .../hildan/krossbow/websocket/darwin/DarwinWebSocketClient.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/krossbow-websocket-core/src/nativeDarwinMain/kotlin/org/hildan/krossbow/websocket/darwin/DarwinWebSocketClient.kt b/krossbow-websocket-core/src/nativeDarwinMain/kotlin/org/hildan/krossbow/websocket/darwin/DarwinWebSocketClient.kt index 5ec4ef0de..6977c6128 100644 --- a/krossbow-websocket-core/src/nativeDarwinMain/kotlin/org/hildan/krossbow/websocket/darwin/DarwinWebSocketClient.kt +++ b/krossbow-websocket-core/src/nativeDarwinMain/kotlin/org/hildan/krossbow/websocket/darwin/DarwinWebSocketClient.kt @@ -134,9 +134,9 @@ private class IosWebSocketConnection( private val webSocket: NSURLSessionWebSocketTask, ) : WebSocketConnectionWithPing { - // no clear way to know if the websocket was closed by the peer, and we can't even fail in sendMessage reliably override val canSend: Boolean = true + // no clear way to know if the websocket was closed by the peer, and we can't even fail in sendMessage reliably override val canSend: Boolean = true - + override suspend fun sendText(frameText: String) { sendMessage(NSURLSessionWebSocketMessage(frameText)) }