summaryrefslogtreecommitdiffstats
path: root/archives/extend/2015-April/000527.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2016-08-29 12:39:49 +0200
committerLoïc Hoguin <[email protected]>2016-08-29 12:40:03 +0200
commitc807880f7ac73f813b2660ea81a00f7712a4e793 (patch)
treeba1d09e9b177f230665a80513b33fbd532000ce4 /archives/extend/2015-April/000527.html
parentb1df25a7d9cda697513650659b781b55b40898f8 (diff)
downloadninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.gz
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.tar.bz2
ninenines.eu-c807880f7ac73f813b2660ea81a00f7712a4e793.zip
Add old mailing list archives
Diffstat (limited to 'archives/extend/2015-April/000527.html')
-rw-r--r--archives/extend/2015-April/000527.html80
1 files changed, 80 insertions, 0 deletions
diff --git a/archives/extend/2015-April/000527.html b/archives/extend/2015-April/000527.html
new file mode 100644
index 00000000..3b29489d
--- /dev/null
+++ b/archives/extend/2015-April/000527.html
@@ -0,0 +1,80 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [99s-extend] cowboy_websocket_handler
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_websocket_handler&In-Reply-To=%3C43C48B2E-0396-43E0-B82C-E524C8274004%40wanadoo.fr%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="Next" HREF="000528.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[99s-extend] cowboy_websocket_handler</H1>
+ <B>Samir Sow</B>
+ <A HREF="mailto:extend%40lists.ninenines.eu?Subject=Re%3A%20%5B99s-extend%5D%20cowboy_websocket_handler&In-Reply-To=%3C43C48B2E-0396-43E0-B82C-E524C8274004%40wanadoo.fr%3E"
+ TITLE="[99s-extend] cowboy_websocket_handler">samset at wanadoo.fr
+ </A><BR>
+ <I>Wed Apr 22 22:56:01 CEST 2015</I>
+ <P><UL>
+
+ <LI>Next message: <A HREF="000528.html">[99s-extend] cowboy_websocket_handler
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#527">[ date ]</a>
+ <a href="thread.html#527">[ thread ]</a>
+ <a href="subject.html#527">[ subject ]</a>
+ <a href="author.html#527">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi there,
+
+I would like to learn more about the cowboy_xxxx_handler for instance the cowboy_websocket_handler :
+- is it an OTP gen_ instance ?
+- how/where the websocket_handle() is called ?
+- how websocket_info() relates to the Transport:send() operation and where/how this latter function is called?
+
+I could not find the cowboy_websocket_handler behavior in the src dir. I guess i&#8217;ve missed something.
+The code is clean but difficult to decipher by a erlang padawan like me.
+
+Why do i need to understand this ?
+
+I would like to write a generic tcp transport layer that provides an interface like the cowboy_xxx_handler to my protocol stack.
+Of course i will use ranch underneath.
+
+Neither the examples provided with ranch nor the ftp server tutorial reveals the sophisticated architecture used to handover data/context to the handler and to get reply data from the handler.
+
+Thank you for your help.
+
+Samir Sow
+
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+
+ <LI>Next message: <A HREF="000528.html">[99s-extend] cowboy_websocket_handler
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#527">[ date ]</a>
+ <a href="thread.html#527">[ thread ]</a>
+ <a href="subject.html#527">[ subject ]</a>
+ <a href="author.html#527">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://lists.ninenines.eu/listinfo/extend">More information about the Extend
+mailing list</a><br>
+</body></html>