- [ADDED] Support for the
cluster
option.
- [ADDED] Build support for the Pusher Travis instance
- [CHANGED] Trigger based calls that result in a bad response no longer throw TriggerResponseExceptions. The response and original content are now available as properties for interrogation
- [ADDED] The Pusher HTTP API Host & Port can now be set via PusherOptions.HostName & PusherOptions.Port properties
- [ADDED] TriggerAsync to allow asynchronous requests to be made to the HTTP API.
- [ADDED] New API abstractions onto Pusher for fetching info on single and multiple channels, and fetching users from a presence Channel. Both sync and sync calls are supported.
- [REMOVED] Event Buffer support
- [ADDED] Support for providing a different JSON serializer & deserializer
- [CHANGED]
Trigger
calls that result in a non 200 response from the Pusher HTTP API now result in aTriggerResponseException
being thrown. This is a BREAKING CHANGE as previously you could inspect theITriggerResult.StatusCode
to detect a failed request. - [ADDED] When triggering events against a Pusher cluster that supports Event Buffer functionality the IDs of the triggered events
can be retrieved via
ITriggerResult.EventIds
- [ADDED] The Pusher HTTP API Host can now be set via
PusherOptions.Host
- [ADDED]
TriggerAsync
to allow asynchronous requests to be made to the HTTP API.
- [FIXED] Channel name and socket_id values are validated for
Pusher.Trigger
- [FIXED] socket_id values are validated for
Pusher.Authenticate
- [FIXED] Pusher.Authenticate for private channels. Should not return
channel_data
in the JSON. - [CHANGED] IAuthenticationData Pusher.Authenticate(string channelName, string socketId, PresenceChannelData presenceData) to throw a ArgumentNullException if
presenceData
isnull
.
- Full release of 2.0.0 library
- Added
Pusher.ProcessWebHook(signature, body)
support
- Updating RestSharp to 105.0.1