Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
remy-bardou-lifeonair authored and joffrey-bion committed May 18, 2022
1 parent b9f45dc commit 66e1425
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 66e1425

Please sign in to comment.