summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-08-01 21:18:27 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-08-01 21:18:50 +0200
commitc0d2d74524e015f9bbf339ba490764265156ae30 (patch)
treeb10579072089ef033babc4bce9d9a7361ed8a9f8
parent3cf68ac0db0e5f839d3f1dd8f345e44584ed13f7 (diff)
Mark WebSocket connection as reliable trasport
-rw-r--r--src/WebSocket.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/WebSocket.hs b/src/WebSocket.hs
index 4179cfa..71ff6d6 100644
--- a/src/WebSocket.hs
+++ b/src/WebSocket.hs
@@ -45,6 +45,7 @@ instance Show Connection where
instance PeerAddressType Connection where
sendBytesToAddress = sendMessage
connectionToAddressClosed = closeConnection
+ isReliableTransport _ = True
startClient :: Server -> String -> Int -> String -> (Connection -> IO ()) -> IO ()
startClient server addr port path fun = do