summaryrefslogblamecommitdiffstats
path: root/archives/extend/2015-June/000540.html
blob: 2816aabb91c83b6b620bace930b8776aa5d347f9 (plain) (tree)

























































































                                                                                                                                                                                                                                            
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
 <HEAD>
   <TITLE> [99s-extend] Websocket vs. Request-Response msg pair
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAA4OwwXkFLY0pO7qudu4Xhe-aD4%3DwYGoitYx%3DNtN6dh5GN25CA%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <style type="text/css">
       pre {
           white-space: pre-wrap;       /* css-2.1, curent FF, Opera, Safari */
           }
   </style>
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="000539.html">
   <LINK REL="Next"  HREF="000541.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[99s-extend] Websocket vs. Request-Response msg pair</H1>
    <B>Robert Balogh</B> 
    <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20Websocket%20vs.%20Request-Response%20msg%20pair&In-Reply-To=%3CCAA4OwwXkFLY0pO7qudu4Xhe-aD4%3DwYGoitYx%3DNtN6dh5GN25CA%40mail.gmail.com%3E"
       TITLE="[99s-extend] Websocket vs. Request-Response msg pair">ethrbh at gmail.com
       </A><BR>
    <I>Wed Jun 24 11:18:50 CEST 2015</I>
    <P><UL>
        <LI>Previous message: <A HREF="000539.html">[99s-extend] Help to use frameset in index.html
</A></li>
        <LI>Next message: <A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#540">[ date ]</a>
              <a href="thread.html#540">[ thread ]</a>
              <a href="subject.html#540">[ subject ]</a>
              <a href="author.html#540">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>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 &quot;feature&quot; 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:

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

thanks for your help,
/Robi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://lists.ninenines.eu/archives/extend/attachments/20150624/204c1308/attachment.html">http://lists.ninenines.eu/archives/extend/attachments/20150624/204c1308/attachment.html</A>&gt;
</PRE>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="000539.html">[99s-extend] Help to use frameset in index.html
</A></li>
	<LI>Next message: <A HREF="000541.html">[99s-extend] Websocket vs. Request-Response msg pair
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#540">[ date ]</a>
              <a href="thread.html#540">[ thread ]</a>
              <a href="subject.html#540">[ subject ]</a>
              <a href="author.html#540">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
mailing list</a><br>
</body></html>