pusher-http-haskell-1.5.1.1: Haskell client library for the Pusher HTTP API

Copyright(c) Will Sewell 2016
LicenseMIT
Maintainerme@willsewell.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Network.Pusher.Protocol

Description

Types representing the JSON format of Pusher messages.

There are also types for query string parameters.

Synopsis

Documentation

newtype ChannelInfo Source #

The possible returned channel attributes when multiple when multiple channels are queried.

Constructors

ChannelInfo 

data ChannelInfoAttributes Source #

Enumeration of the attributes that can be queried about a single channel.

newtype ChannelsInfo Source #

A map of channels to their ChannelInfo. The result of querying channel info from multuple channels.

data ChannelsInfoAttributes Source #

Enumeration of the attributes that can be queried about multiple channels.

Constructors

ChannelsUserCount 

newtype User Source #

The data about a user returned when querying for users in a presence channel.

Constructors

User 

Fields

Instances

newtype Users Source #

A list of users returned by querying for users in a presence channel.

Constructors

Users [User]