diff options
Diffstat (limited to 'WebSockets.hs')
-rw-r--r-- | WebSockets.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WebSockets.hs b/WebSockets.hs index 2a0eb40..c2fcb95 100644 --- a/WebSockets.hs +++ b/WebSockets.hs @@ -92,7 +92,7 @@ instance WebSocketsData WireProtocol where WireProtocolError (Data.Aeson.decode s) _ -> WireProtocolError "received unknown websocket message" -#if MIN_VERSION_websockets(0,10,0) +#if MIN_VERSION_websockets(0,11,0) fromDataMessage = fromLazyByteString . fromDataMessage #endif @@ -118,7 +118,7 @@ supportedWireVersions = [WireVersion "1"] connectionOptions :: ConnectionOptions connectionOptions = defaultConnectionOptions -#if MIN_VERSION_websockets(0,10,0) +#if MIN_VERSION_websockets(0,11,0) -- Enable compression. { connectionCompressionOptions = PermessageDeflateCompression defaultPermessageDeflate |