This repository was archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 661
-
Looks like the config broadcasting.connections.pusher.client_options
is not taking any effect. I guess it should be used to instantiate a GuzzleHttp client with custom options and pass it to Pusher.
This change should do:
// src/Dashboard/Http/Controllers/SendMessage.php protected function getPusherBroadcaster(array $validated): PusherBroadcaster { + $client = new \GuzzleHttp\Client(config('broadcasting.connections.pusher.client_options', [])); + $pusher = new Pusher( $validated['key'], $validated['secret'], $validated['appId'], config('broadcasting.connections.pusher.options', []), + $client ); return new PusherBroadcaster($pusher); }
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
Make a PR
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment