Hacker News new | ask | show | jobs
by dvliman 4019 days ago
Is there a documentation of transport protocol? i.e http sse, websocket? ...peeking the source code a little bit - tcp-socket?
1 comments

Deepstream is using a TcpPort to allow for connections from other Node-processes (and hopefully, going forward Java, C++ etc..) and engine.io for browser communication. Engine.io initially connects using long-polling http and upgrades to Websocket if available.

A (rudimentary) overview of the message structure can be found here: http://deepstream.io/tutorials/message-structure.html

Why go through the trouble and reinvent the wheel and not use one of the available protocols and serialization methods?