Figma plugin and web-sockets

Hello, does Figma allow the implementation of web sockets in the Figma plugin?

I’m creating a plugin and I’m doing long polling, but if I could add web sockets that would be awesome, but I’m not sure if Figma allows it :thinking:

Thank you. :smile:

Yes, WebSockets are allowed, judging by that I have a plugin published ( that uses WebSockets for sending data to external servers, and it got approved :slight_smile:

Incredible! What library did you use to implement the WebSocket? Trying and WS, but little luck due to ES6 syntax : (