pusher / pusher-http-php

PHP library for interacting with the Pusher Channels HTTP API
https://pusher.com/docs/server_api_guide
1.41k stars 307 forks source link

Multiple channels e2e #337

Closed andrew-bibby closed 2 years ago

andrew-bibby commented 2 years ago

Description

This PR allows the triggering of a single encrypted events on multiple channels. It addresses issue #334.

Instead of throwing an exception if more than 1 encrypted channel is specified, it throws if the channels are mixed encrypted / unencrypted. This still means that only 1 API request is made as mentioned in the readme rationale.

CHANGELOG

sonologico commented 2 years ago

Thank you!