diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-08-01 21:18:27 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-08-01 21:18:50 +0200 |
| commit | c0d2d74524e015f9bbf339ba490764265156ae30 (patch) | |
| tree | b10579072089ef033babc4bce9d9a7361ed8a9f8 /src | |
| parent | 3cf68ac0db0e5f839d3f1dd8f345e44584ed13f7 (diff) | |
Mark WebSocket connection as reliable trasport
Diffstat (limited to 'src')
| -rw-r--r-- | src/WebSocket.hs | 1 |
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 |