Skip to content

Instantly share code, notes, and snippets.

@voidus
voidus / Scotty_websockets.hs
Created May 25, 2019 19:12 — forked from andrevdm/Scotty_websockets.hs
Using websockets with scotty haskell
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Protolude
import qualified Web.Scotty as Sc
import qualified Data.Text as Txt
import qualified Network.Wai.Middleware.Gzip as Sc