summaryrefslogtreecommitdiffstats
path: root/_build/static/archives/extend/attachments/20130916
diff options
context:
space:
mode:
Diffstat (limited to '_build/static/archives/extend/attachments/20130916')
-rw-r--r--_build/static/archives/extend/attachments/20130916/dedbf486/attachment.html6
-rw-r--r--_build/static/archives/extend/attachments/20130916/f55d10f5/attachment.html29
2 files changed, 35 insertions, 0 deletions
diff --git a/_build/static/archives/extend/attachments/20130916/dedbf486/attachment.html b/_build/static/archives/extend/attachments/20130916/dedbf486/attachment.html
new file mode 100644
index 00000000..74676d52
--- /dev/null
+++ b/_build/static/archives/extend/attachments/20130916/dedbf486/attachment.html
@@ -0,0 +1,6 @@
+<tt>
+&lt;div&nbsp;dir=&quot;ltr&quot;&gt;Hello,&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;this&nbsp;is&nbsp;somewhat&nbsp;similar&nbsp;to&nbsp;what&nbsp;someone&nbsp;else&nbsp;has&nbsp;asked: &lt;a&nbsp;href=&quot;http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html&quot;&gt;http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html&lt;/a&gt;&lt;/div&gt;<br>
+&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I&nbsp;am&nbsp;new&nbsp;to&nbsp;cowboy,&nbsp;I&nbsp;have&nbsp;a&nbsp;process&nbsp;that&nbsp;runs&nbsp;alongside&nbsp;a&nbsp;cowboy&nbsp;server&nbsp;and&nbsp;this&nbsp;process&nbsp;needs&nbsp;to&nbsp;periodically&nbsp;send&nbsp;text&nbsp;to&nbsp;all&nbsp;http&nbsp;clients&nbsp;connected&nbsp;to&nbsp;the&nbsp;cowboy&nbsp;server.&nbsp;My&nbsp;goal&nbsp;is&nbsp;to&nbsp;have&nbsp;a&nbsp;streaming&nbsp;connection&nbsp;for&nbsp;each&nbsp;http&nbsp;client&nbsp;so&nbsp;that&nbsp;I&nbsp;could&nbsp;stream&nbsp;text&nbsp;to&nbsp;them&nbsp;from&nbsp;my&nbsp;process.&nbsp;how&nbsp;is&nbsp;this&nbsp;done?&lt;/div&gt;<br>
+&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks!&lt;/div&gt;&lt;div&gt;Konstantin&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;<br>
+
+</tt>
diff --git a/_build/static/archives/extend/attachments/20130916/f55d10f5/attachment.html b/_build/static/archives/extend/attachments/20130916/f55d10f5/attachment.html
new file mode 100644
index 00000000..f2a6ab12
--- /dev/null
+++ b/_build/static/archives/extend/attachments/20130916/f55d10f5/attachment.html
@@ -0,0 +1,29 @@
+<tt>
+&lt;div&nbsp;dir=&quot;ltr&quot;&gt;thanks.&nbsp;Suppose&nbsp;my&nbsp;external&nbsp;process&nbsp;is&nbsp;registered&nbsp;and&nbsp;has&nbsp;a&nbsp;name,&nbsp;so&nbsp;I&nbsp;can&nbsp;discover&nbsp;it&nbsp;by&nbsp;name&nbsp;from&nbsp;my&nbsp;cowboy&nbsp;request&nbsp;handler.&nbsp;when&nbsp;my&nbsp;cowboy&nbsp;handler&nbsp;is&nbsp;invoked,&nbsp;can&nbsp;I&nbsp;just&nbsp;send&nbsp;the&nbsp;handler&#39;s&nbsp;process&nbsp;ID&nbsp;to&nbsp;the&nbsp;external&nbsp;process?&nbsp;the&nbsp;question&nbsp;is&nbsp;then&nbsp;how&nbsp;does&nbsp;the&nbsp;external&nbsp;process&nbsp;know&nbsp;that&nbsp;the&nbsp;http&nbsp;client&nbsp;has&nbsp;disconnected&nbsp;so&nbsp;that&nbsp;it&nbsp;can&nbsp;stop&nbsp;sending&nbsp;data&nbsp;to&nbsp;it.&lt;/div&gt;<br>
+&lt;div&nbsp;class=&quot;gmail_extra&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;div&nbsp;class=&quot;gmail_quote&quot;&gt;2013/9/16&nbsp;Loïc&nbsp;Hoguin&nbsp;&lt;span&nbsp;dir=&quot;ltr&quot;&gt;&lt;&lt;a&nbsp;href=&quot;mailto:[email protected]&quot;&nbsp;target=&quot;_blank&quot;&gt;[email protected]&lt;/a&gt;&gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote&nbsp;class=&quot;gmail_quote&quot;&nbsp;style=&quot;margin:0&nbsp;0&nbsp;0&nbsp;.8ex;border-left:1px&nbsp;#ccc&nbsp;solid;padding-left:1ex&quot;&gt;<br>
+&lt;div&nbsp;class=&quot;HOEnZb&quot;&gt;&lt;div&nbsp;class=&quot;h5&quot;&gt;On&nbsp;09/16/2013&nbsp;03:50&nbsp;PM,&nbsp;akonsu&nbsp;wrote:&lt;br&gt;<br>
+&lt;blockquote&nbsp;class=&quot;gmail_quote&quot;&nbsp;style=&quot;margin:0&nbsp;0&nbsp;0&nbsp;.8ex;border-left:1px&nbsp;#ccc&nbsp;solid;padding-left:1ex&quot;&gt;<br>
+Hello,&lt;br&gt;<br>
+&lt;br&gt;<br>
+this&nbsp;is&nbsp;somewhat&nbsp;similar&nbsp;to&nbsp;what&nbsp;someone&nbsp;else&nbsp;has&nbsp;asked:&lt;br&gt;<br>
+&lt;a&nbsp;href=&quot;http://lists.ninenines.eu:81/archives/extend/2013-August/000224.html&quot;&nbsp;target=&quot;_blank&quot;&gt;http://lists.ninenines.eu:81/&lt;u&gt;&lt;/u&gt;archives/extend/2013-August/&lt;u&gt;&lt;/u&gt;000224.html&lt;/a&gt;&lt;br&gt;<br>
+&lt;br&gt;<br>
+I&nbsp;am&nbsp;new&nbsp;to&nbsp;cowboy,&nbsp;I&nbsp;have&nbsp;a&nbsp;process&nbsp;that&nbsp;runs&nbsp;alongside&nbsp;a&nbsp;cowboy&nbsp;server&lt;br&gt;<br>
+and&nbsp;this&nbsp;process&nbsp;needs&nbsp;to&nbsp;periodically&nbsp;send&nbsp;text&nbsp;to&nbsp;all&nbsp;http&nbsp;clients&lt;br&gt;<br>
+connected&nbsp;to&nbsp;the&nbsp;cowboy&nbsp;server.&nbsp;My&nbsp;goal&nbsp;is&nbsp;to&nbsp;have&nbsp;a&nbsp;streaming&lt;br&gt;<br>
+connection&nbsp;for&nbsp;each&nbsp;http&nbsp;client&nbsp;so&nbsp;that&nbsp;I&nbsp;could&nbsp;stream&nbsp;text&nbsp;to&nbsp;them&nbsp;from&lt;br&gt;<br>
+my&nbsp;process.&nbsp;how&nbsp;is&nbsp;this&nbsp;done?&lt;br&gt;<br>
+&lt;/blockquote&gt;<br>
+&lt;br&gt;&lt;/div&gt;&lt;/div&gt;<br>
+Same&nbsp;answer&nbsp;really.&nbsp;You&nbsp;need&nbsp;some&nbsp;kind&nbsp;of&nbsp;process&nbsp;registry,&nbsp;like&nbsp;gproc&nbsp;properties&nbsp;for&nbsp;example,&nbsp;that&nbsp;will&nbsp;store&nbsp;all&nbsp;Pids&nbsp;and&nbsp;allow&nbsp;you&nbsp;to&nbsp;send&nbsp;a&nbsp;message&nbsp;to&nbsp;all&nbsp;of&nbsp;them.&lt;br&gt;<br>
+&lt;br&gt;<br>
+On&nbsp;init,&nbsp;register&nbsp;the&nbsp;process,&nbsp;and&nbsp;then&nbsp;handle&nbsp;the&nbsp;incoming&nbsp;message&nbsp;when&nbsp;it&nbsp;arrives.&lt;span&nbsp;class=&quot;HOEnZb&quot;&gt;&lt;font&nbsp;color=&quot;#888888&quot;&gt;&lt;br&gt;<br>
+&lt;br&gt;<br>
+--&nbsp;&lt;br&gt;<br>
+Loďc&nbsp;Hoguin&lt;br&gt;<br>
+Erlang&nbsp;Cowboy&lt;br&gt;<br>
+Nine&nbsp;Nines&lt;br&gt;<br>
+&lt;a&nbsp;href=&quot;http://ninenines.eu&quot;&nbsp;target=&quot;_blank&quot;&gt;http://ninenines.eu&lt;/a&gt;&lt;br&gt;<br>
+&lt;/font&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;<br>
+
+</tt>