What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-02 15:35:21
laravel websockets onmessage
// Add websocket routes "App\Providers\RouteServiceProvider.php" public function map() { $this->mapApiRoutes(); $this->mapWebRoutes(); $this->app->singleton('websockets.router', function () { return new Router... Add solution -
Javascript 2021-09-29 17:06:05
Modifing the Array values
//Modifying the Array values let colors = ["blue", "red", "black"]; //Higher Order Array function map() doesn't work //because it will be created a new element "x" //and the value of that element will be modified ... Add solution