- [CHANGED] Project now targets DotNet Standard 1.6. The API has not changed.
- [ADDED] support for the .NET Core
- [CHANGED] The library now is built against .NET 4.5
- [CHANGED] Removed the dependency on RestSharp, and replaced with the .NETs HttpClient class.
- [REMOVED] Retired the callback syntax
- [ADDED] Async/Await based syntax
- [FIXED] The Out of range exceptions thrown by Trigger methods to correctly specify the message, instead of the message be supplied as the parameter name
- [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