This repository was archived by the owner on Feb 7, 2024. It is now read-only.
  
  
  
  
Replies: 1 comment
-
| Make a PR | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Looks like the config
broadcasting.connections.pusher.client_optionsis 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