public struct Webhook : Codable

A representation of a Webhook that contains an array of events related to changes in the internal state of a Pusher Channels application, which were received as a POST request to a user-specified Webhook URL.

The contained events have been verified as geniune Webhooks that were received directly from Pusher.

Custom Encodable conformance (used in Tests)

Custom Decodable initializer