Disable Websockets

Disables websockets

Versión del día 08/02/2021. Echa un vistazo a la versión más reciente.

Autor
csalvato
Calificaciones
0 0 0
Versión
1.0
Creado
08/02/2021
Actualizado
08/02/2021
Tamaño
1.29 KB
Licencia
Desconocida
Funciona en
Todos los sitios

This is a script that you can use to enable or disable WebSockets. Useful for developing websites that use WebSockets, when you want to test the case where a connection cannot be established.

Heavily inspired by the code from this Stack Overflow answer: https://stackoverflow.com/questions/30912854/is-it-possible-to-temporarily-disable-a-websockets-connection-in-a-local-server