hydra-node-0.17.0: The Hydra node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.API.WSServer

Documentation

wsApp Source #

Arguments

:: forall tx. IsChainState tx 
=> Party 
-> Tracer IO APIServerLog 
-> TVar [TimedServerOutput tx] 
-> (ClientInput tx -> IO ()) 
-> Projection STM (ServerOutput tx) HeadStatus

Read model to enhance Greetings messages with HeadStatus.

-> Projection STM (ServerOutput tx) (Maybe (UTxOType tx))

Read model to enhance Greetings messages with snapshot UTxO.

-> TChan (TimedServerOutput tx) 
-> PendingConnection 
-> IO ()