blaze-htmx-0.1.0.0: src/Text/Blaze/Htmx/WebSockets.hs
{-# LANGUAGE OverloadedStrings #-}
module Text.Blaze.Htmx.WebSockets where
import Text.Blaze.Internal (attribute, Attribute, AttributeValue)
wsConnect :: AttributeValue -> Attribute
wsConnect = attribute "ws-connect" " ws-connect=\""
{-# INLINE wsConnect #-}
wsSend :: AttributeValue -> Attribute
wsSend = attribute "ws-send" " ws-send=\""
{-# INLINE wsSend #-}