[Vuejs]-Is it safe to use Socket.IO in Vue.js and Laravel 5.6

0👍

Socket.io is safe, what gave you the impression it wasn’t? I use it in production projects without issue.

Most often I integrate with Laravel Echo Server. Broadcasting is greatly simplified and reliable with this.

You can fully secure the socket connection using HTTPS and proper authorization. There is plenty of material out there covering the topic.

0👍

Usually your CSRF token you send with your request will be verfied on server side. Without laravel refuses any useful response, you get only kind of an error message. That is what i understood so far.

Leave a comment