B4J Question SockJS - B4J how to?

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Doing a project to talk to Octoprint (RasPi 3d printer software) and all is going pretty good.
Question on SockJS. How does one do this in B4J? I can do POST's and GET's and all is well but am clueless on SockJS

There seems to be a client for javascript.

Anyway, just wonder if anyone could point me in a direction.

FYI: I live in a city that is... Well the Internet is spotty at best (if it works at all) but that's another story for another place.
Forgive me if it takes a while for me to reply.
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
I have the REST-API working fine. Just looking for something more efficient instead of polling Octoprint every second.
Thanks guys.
Octoprint has a REST-Api too. I would start using the REST-Api

I got the REST-API working. Looking for something more efficient.
 
Upvote 0

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top