LOGIN
Ranjan Dailata
57
Community Expert
Application Architect/Lead Developer
 · ChicagoU.S.
Share
Report
Get Link
QUESTION
 Answered

Pub/Sub using HTTP API

A General question for Deepstream team (Others can help and answer me). The question is how would I accomplish or perform the pub/sub using HTTP API on Desktop Apps. Meaning, I’m not going to use web browser. I understand the mechanism of HTTP Protocol. But I am looking for an elegant solution as I’m not interested in making a read request with a specific interval of time. Which means, no looping and checking for messages. I am looking for a pure pub/sub mechanism.

API
2 likes 
Like
Award Contribution
Ranjan Dailata
57
Community Expert
Application Architect/Lead Developer
 · ChicagoU.S.
Share
Report
Get Link

I’m reading the Java Client WebSocket implementation. I think that’s the way 😃

https://github.com/deepstreamIO/deepstream.io-client-java/

Like
0 like 
Award Contribution
Olivia Waligóra
1
Apprentice
Digital Marketing Executive at DeepstreamHub (Project Leader)
 · BerlinGermany
Share
Report
Get Link

Hey Ranjan Dailata, the HTTP API does not allow subscriptions, but you could use any of deepstream clients to connect yours using WebSockets, for example javascript api using node.js, hope that helps:)

Like
0 like 
Award Contribution
Ranjan Dailata
57
Community Expert
Application Architect/Lead Developer
 · ChicagoU.S.
Share
Report
Get Link

Olivia Waligóra Bummer, I’m in the world of MS C# technology. I may have to re-think and come up with a suitable solution.

Like
0 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
New Post
Help
Start Project
Online Users
Share Link