Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data RPCID
- getRPCID :: RPCID -> Int
- data RPCIdentified a = RPCIdentified {}
- newtype Subscribe a = Subscribe (RPCIdentified a)
- newtype Supply a = Supply {
- getSupply :: RPCIdentified (Maybe a)
- newtype Reply a = Reply (RPCIdentified a)
- newtype Complete a = Complete (RPCIdentified a)
- data ClientToServer sub sup
- data ServerToClient rep com
- data WebSocketRPCException = WebSocketRPCParseFailure [String] ByteString
Documentation
Unique identifier for an RPC session
RPC Methods
data RPCIdentified a Source #
Eq a => Eq (RPCIdentified a) Source # | |
Data a => Data (RPCIdentified a) Source # | |
Read a => Read (RPCIdentified a) Source # | |
Show a => Show (RPCIdentified a) Source # | |
Generic (RPCIdentified a) Source # | |
Arbitrary a => Arbitrary (RPCIdentified a) Source # | |
ToJSON a => ToJSON (RPCIdentified a) Source # | |
FromJSON a => FromJSON (RPCIdentified a) Source # | |
type Rep (RPCIdentified a) Source # | |
Eq a => Eq (Subscribe a) Source # | |
Data a => Data (Subscribe a) Source # | |
Read a => Read (Subscribe a) Source # | |
Show a => Show (Subscribe a) Source # | |
Generic (Subscribe a) Source # | |
Arbitrary a => Arbitrary (Subscribe a) Source # | |
ToJSON a => ToJSON (Subscribe a) Source # | |
FromJSON a => FromJSON (Subscribe a) Source # | |
type Rep (Subscribe a) Source # | |
Nothing
means the RPC is canceled
Supply | |
|
Eq a => Eq (Supply a) Source # | |
Data a => Data (Supply a) Source # | |
Read a => Read (Supply a) Source # | |
Show a => Show (Supply a) Source # | |
Generic (Supply a) Source # | |
Arbitrary a => Arbitrary (Supply a) Source # | |
ToJSON a => ToJSON (Supply a) Source # | |
FromJSON a => FromJSON (Supply a) Source # | |
type Rep (Supply a) Source # | |
Reply (RPCIdentified a) |
Eq a => Eq (Reply a) Source # | |
Data a => Data (Reply a) Source # | |
Read a => Read (Reply a) Source # | |
Show a => Show (Reply a) Source # | |
Generic (Reply a) Source # | |
Arbitrary a => Arbitrary (Reply a) Source # | |
ToJSON a => ToJSON (Reply a) Source # | |
FromJSON a => FromJSON (Reply a) Source # | |
type Rep (Reply a) Source # | |
Eq a => Eq (Complete a) Source # | |
Data a => Data (Complete a) Source # | |
Read a => Read (Complete a) Source # | |
Show a => Show (Complete a) Source # | |
Generic (Complete a) Source # | |
Arbitrary a => Arbitrary (Complete a) Source # | |
ToJSON a => ToJSON (Complete a) Source # | |
FromJSON a => FromJSON (Complete a) Source # | |
type Rep (Complete a) Source # | |
Categorized
data ClientToServer sub sup Source #
(Eq sup, Eq sub) => Eq (ClientToServer sub sup) Source # | |
(Data sup, Data sub) => Data (ClientToServer sub sup) Source # | |
(Read sup, Read sub) => Read (ClientToServer sub sup) Source # | |
(Show sup, Show sub) => Show (ClientToServer sub sup) Source # | |
Generic (ClientToServer sub sup) Source # | |
(Arbitrary sub, Arbitrary sup) => Arbitrary (ClientToServer sub sup) Source # | |
(ToJSON sub, ToJSON sup) => ToJSON (ClientToServer sub sup) Source # | |
(FromJSON sub, FromJSON sup) => FromJSON (ClientToServer sub sup) Source # | |
type Rep (ClientToServer sub sup) Source # | |
data ServerToClient rep com Source #
(Eq com, Eq rep) => Eq (ServerToClient rep com) Source # | |
(Data com, Data rep) => Data (ServerToClient rep com) Source # | |
(Read com, Read rep) => Read (ServerToClient rep com) Source # | |
(Show com, Show rep) => Show (ServerToClient rep com) Source # | |
Generic (ServerToClient rep com) Source # | |
(Arbitrary sub, Arbitrary sup) => Arbitrary (ServerToClient sub sup) Source # | |
(ToJSON rep, ToJSON com) => ToJSON (ServerToClient rep com) Source # | |
(FromJSON rep, FromJSON com) => FromJSON (ServerToClient rep com) Source # | |
type Rep (ServerToClient rep com) Source # | |