Safe Haskell | None |
---|
Network.Pubnub.Types
Documentation
Constructors
Timestamp Integer |
data SubscribeOptions a Source
Constructors
SubscribeOptions | |
Fields
|
data ConnectResponse Source
Constructors
ConnectResponse ([Value], Timestamp) |
Instances
Show ConnectResponse | |
Generic ConnectResponse | |
FromJSON ConnectResponse |
data SubscribeResponse a Source
Constructors
SubscribeResponse (a, Timestamp) |
Instances
Show a => Show (SubscribeResponse a) | |
Generic (SubscribeResponse a) | |
FromJSON a => FromJSON (SubscribeResponse a) |
data EncryptedSubscribeResponse Source
Constructors
EncryptedSubscribeResponse ([Text], Timestamp) |
Instances
data PublishResponse Source
Constructors
PublishResponse Integer String Timestamp |
Instances
Show PublishResponse | |
Generic PublishResponse | |
FromJSON PublishResponse |
Constructors
Presence | |
Constructors
HereNow | |
Fields
|
Constructors
History [a] Integer Integer |
type HistoryOptions = [HistoryOption]Source
setEncryptionKey :: PN -> ByteString -> Either KeyError PNSource