butler-0.0.1.0: At your service.
Safe HaskellSafe-Inferred
LanguageGHC2021

Butler.Display.WebSocket

Synopsis

Documentation

type WebSocketAPI = RemoteHost :> ClientAPI #

type OnWSConnect session = SockAddr -> OnConnect session #

websocketServer :: GetSession session -> OnWSConnect session -> ServerT WebSocketAPI ProcessIO #

splashHtml :: Monad m => HtmlT m () -> HtmlT m () #

Display the content in a splash screen

newtype Workspace #

Constructors

Workspace Text 

Instances

Instances details
FromJSON Workspace # 
Instance details

Defined in Butler.Display.WebSocket

ToJSON Workspace # 
Instance details

Defined in Butler.Display.WebSocket

IsString Workspace # 
Instance details

Defined in Butler.Display.WebSocket

Show Workspace # 
Instance details

Defined in Butler.Display.WebSocket

Eq Workspace # 
Instance details

Defined in Butler.Display.WebSocket

Ord Workspace # 
Instance details

Defined in Butler.Display.WebSocket

FromHttpApiData Workspace # 
Instance details

Defined in Butler.Display.WebSocket

ToHtml Workspace # 
Instance details

Defined in Butler.Display.WebSocket

Methods

toHtml :: forall (m :: Type -> Type). Monad m => Workspace -> HtmlT m () #

toHtmlRaw :: forall (m :: Type -> Type). Monad m => Workspace -> HtmlT m () #

Serialise Workspace # 
Instance details

Defined in Butler.Display.WebSocket

From Workspace StorageAddress # 
Instance details

Defined in Butler.Display.WebSocket

From Workspace Text # 
Instance details

Defined in Butler.Display.WebSocket

Methods

from :: Workspace -> Text #