<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>subscriber on 戲中話</title><link>https://blog.iphpo.com/tags/subscriber/</link><description>Recent content in subscriber on 戲中話</description><generator>Hugo</generator><language>zh-tw</language><managingEditor>herb09638@gmail.com (Herb)</managingEditor><webMaster>herb09638@gmail.com (Herb)</webMaster><lastBuildDate>Sun, 15 Apr 2018 12:00:00 +0800</lastBuildDate><atom:link href="https://blog.iphpo.com/tags/subscriber/index.xml" rel="self" type="application/rss+xml"/><item><title>Nchan - 發佈的安全性設置</title><link>https://blog.iphpo.com/blog/2018/04/nchan-%E7%99%BC%E4%BD%88%E7%9A%84%E5%AE%89%E5%85%A8%E6%80%A7%E8%A8%AD%E7%BD%AE/</link><pubDate>Sun, 15 Apr 2018 12:00:00 +0800</pubDate><author>herb09638@gmail.com (Herb)</author><guid>https://blog.iphpo.com/blog/2018/04/nchan-%E7%99%BC%E4%BD%88%E7%9A%84%E5%AE%89%E5%85%A8%E6%80%A7%E8%A8%AD%E7%BD%AE/</guid><description>&lt;h1 id="發佈的安全性設置"&gt;發佈的安全性設置&lt;/h1&gt;
&lt;p&gt;官方的建議，是將發佈的端點完全隱藏，只允許local存取發佈的位置。&lt;/p&gt;</description></item><item><title>Nchan - 訂閱者(Subscriber)設定</title><link>https://blog.iphpo.com/blog/2018/04/nchan-%E8%A8%82%E9%96%B1%E8%80%85subscriber%E8%A8%AD%E5%AE%9A/</link><pubDate>Thu, 05 Apr 2018 04:00:00 +0800</pubDate><author>herb09638@gmail.com (Herb)</author><guid>https://blog.iphpo.com/blog/2018/04/nchan-%E8%A8%82%E9%96%B1%E8%80%85subscriber%E8%A8%AD%E5%AE%9A/</guid><description>&lt;h1 id="訂閱者40subscriber41設定"&gt;訂閱者(Subscriber)設定&lt;/h1&gt;
&lt;p&gt;Nchan提供多種訂閱方式，包括&lt;a href="https://nchan.io/#websocket"&gt;WebSocket&lt;/a&gt;、&lt;a href="https://nchan.io/#eventsource"&gt;EventSource&lt;/a&gt;、&lt;a href="https://nchan.io/#long-polling"&gt;Long Poll&lt;/a&gt;、&lt;a href="https://nchan.io/#interval-polling"&gt;Interval-Poll&lt;/a&gt;、&lt;a href="https://nchan.io/#http-chunked-transfer"&gt;HTTP Chunked Transfer&lt;/a&gt;、&lt;a href="https://nchan.io/#http-multipart-mixed"&gt;HTTP multipart/mixed，&lt;/a&gt;但我只有使用過WebSocket，所以會以WebSocket為主，若對其他方式有興趣的可以到&lt;a href="https://nchan.io"&gt;nchan官方&lt;/a&gt;網站上查看。&lt;/p&gt;
&lt;p&gt;經過前面幾個章節，大家一定都已經知道，要讓某個位置變成可訂閱，只需要加上&lt;code&gt;nchan_subscriber&lt;/code&gt;的關鍵字&lt;/p&gt;</description></item></channel></rss>