[99s-extend] Websocket vs. Request-Response msg pair

Robert Balogh ethrbh at gmail.com
Wed Jun 24 11:18:50 CEST 2015


hello,

According to you grate support I got from you at yesterday, I could
continue my project, where I use Cowboy webserver and using Websocket. Now
I made an own web page with basic features I need, so the server and client
can communicates to eachother. I like it.

Now I would like to step forward, and I would like to implement a
Request-Response mechanism. I read few articles in to this topic, and all
of them has mentioned this "feature" is not part of the Websocket standard.
They were suggested to use some sub-protocols for this, but I did not see
any written in Erlang.

So, I would like to ask you, do I understand right that Cowboy does not
have this feature too? If so, do you have some idea how can I implement a
basic request-response mechanism? Probably one of you guys in this forum
have some idea.

Btw, the links I read about this topic:

http://stackoverflow.com/questions/10882370/websocket-request-response-subprotocol
    http://alabor.me/articles/request-response-oriented-websockets/
    https://www.npmjs.com/package/primus-responder

thanks for your help,
/Robi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ninenines.eu/archives/extend/attachments/20150624/204c1308/attachment.html>


More information about the Extend mailing list