ihp-ssc-1.5.0: Server Side Components for IHP
Copyright(c) digitally induced GmbH 2021
Safe HaskellNone
LanguageGHC2021

IHP.ServerSideComponent.ControllerFunctions

Description

 
Synopsis

Documentation

setState :: (?instanceRef :: IORef (ComponentInstance state), ?connection :: Connection, Component state action, ?context :: ControllerContext, ?request :: Request) => state -> IO () Source #

sendError :: (?connection :: Connection) => SSCError -> IO () Source #

Send an error message to the client

getState :: (?instanceRef :: IORef (ComponentInstance state)) => IO state Source #

Orphan instances

FromJSON AttributeOperation Source # 
Instance details

FromJSON NodeOperation Source # 
Instance details

FromJSON Attribute Source # 
Instance details

FromJSON Node Source # 
Instance details

FromJSON SSCError Source # 
Instance details

ToJSON AttributeOperation Source # 
Instance details

ToJSON NodeOperation Source # 
Instance details

ToJSON Attribute Source # 
Instance details

ToJSON Node Source # 
Instance details

ToJSON SSCError Source # 
Instance details