nick's blog
  • Home
  • About
Sign in Subscribe

proxy

A collection of 1 post
javascript

Debugging WebSockets using JS Proxy Object

Debugging WebSocket [https://developer.mozilla.org/en/docs/Web/API/WebSocket] connections with JS Proxy [https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Proxy] object is easy and requires surprisingly little code. Proxies allow you to set "traps" which can listen for new operator calls
30 May 2017 3 min read
Page 1 of 1
nick's blog © 2025
Powered by Ghost