websockets 0.9.6.1 → 0.9.6.2
raw patch · 4 files changed
+14/−5 lines, 4 filesdep ~binary
Dependency ranges changed: binary
Files
- CHANGELOG +3/−0
- example/server.lhs +1/−1
- src/Network/WebSockets/Server.hs +6/−0
- websockets.cabal +4/−4
CHANGELOG view
@@ -1,3 +1,6 @@+- 0.9.6.2+ * Bump `binary` dependency for GHC 8.0 compatibility+ - 0.9.6.1 * Fix issue with fragmentation test
example/server.lhs view
@@ -116,7 +116,7 @@ > WS.sendTextData conn ("User already exists" :: Text) All is right! We're going to allow the client, but for safety reasons we *first*-setup a `disconnect` function that will be run when the exception is closed.+setup a `disconnect` function that will be run when the connection is closed. > | otherwise -> flip finally disconnect $ do
src/Network/WebSockets/Server.hs view
@@ -39,6 +39,12 @@ -- | Provides a simple server. This function blocks forever. Note that this -- is merely provided for quick-and-dirty standalone applications, for real -- applications, you should use a real server.+--+-- Glue for using this package with real servers is provided by:+--+-- * <https://hackage.haskell.org/package/wai-websockets>+--+-- * <https://hackage.haskell.org/package/websockets-snap> runServer :: String -- ^ Address to bind -> Int -- ^ Port to listen on -> ServerApp -- ^ Application
websockets.cabal view
@@ -1,5 +1,5 @@ Name: websockets-Version: 0.9.6.1+Version: 0.9.6.2 Synopsis: A sensible and clean way to write WebSocket-capable servers in Haskell.@@ -72,7 +72,7 @@ attoparsec >= 0.10 && < 0.14, base >= 4 && < 5, base64-bytestring >= 0.1 && < 1.1,- binary >= 0.5 && < 0.8,+ binary >= 0.5 && < 0.9, blaze-builder >= 0.3 && < 0.5, bytestring >= 0.9 && < 0.11, case-insensitive >= 0.3 && < 1.3,@@ -106,7 +106,7 @@ attoparsec >= 0.10 && < 0.14, base >= 4 && < 5, base64-bytestring >= 0.1 && < 1.1,- binary >= 0.5 && < 0.8,+ binary >= 0.5 && < 0.9, blaze-builder >= 0.3 && < 0.5, bytestring >= 0.9 && < 0.11, case-insensitive >= 0.3 && < 1.3,@@ -131,7 +131,7 @@ attoparsec >= 0.10 && < 0.14, base >= 4 && < 5, base64-bytestring >= 0.1 && < 1.1,- binary >= 0.5 && < 0.8,+ binary >= 0.5 && < 0.9, blaze-builder >= 0.3 && < 0.5, bytestring >= 0.9 && < 0.11, case-insensitive >= 0.3 && < 1.3,