base library

Use this library to hide structures used for development.

Classes

Channel
An interface to represent the channels based on the Pusher documentation
ChannelReadEvent
Implementation of ReadEvent recieved from Channel
PusherChannelOptions
Options provided to ConnectionDelegate. See:
PusherChannelsClient
Canonical client structure to connect to a server based on Pusher Channels protocol through ConnectionDelegate, generating and managing channels internally
PusherChannelsOptions
Options provided to ConnectionDelegate. See:
PusherChannelsPackageConfigs
Package configurations.
PusherEventNames
Constant event names of Pusher Channels
ReadEvent
Instances of ReadEvent can only be used to read.
SendEvent
Events sent to a server
TokenAuthorizationDelegate
Implementation of AuthorizationDelegate throug http protocol
WebSocketChannelConnectionDelegate

Enums

ConnectionStatus
Used to describe connection status to a server by ConnectionStatus

Exceptions / Errors

PusherAuthenticationException
Exception that is supposed to be thrown when AuthorizationDelegate fails to get auth tring It is recommended to create separate implementations for each AuthorizationDelegate
PusherTokenAuthDelegateException
Exception thrown when TokenAuthorizationDelegate fails to get auth String