Websockets with message callback

・1 min read

This is a part of a larger project that I've worked on and I figured other people might find it useful.

Project: https://github.com/aidv/websockets-callback

In my project I send data to a server using WebSockets and then waits for a response until the data has been processed.

Once a response is received a callback is executed and the user is notified.

My library simplifies such a flow a lot and code can be written like one would write any callback driven code.

Classic DEV Post from Dec 12 '18

Will Java Trend Towards Obscurity?

I'm forking another conversation: ...

I like to make stuff
Join dev.to