You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2015/06/29 23:46:32 UTC
[26/50] couch commit: updated refs/heads/COUCHDB-2734-header-date to
f3e022c
remark about framing in example documentation
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/7ba3196d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/7ba3196d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/7ba3196d
Branch: refs/heads/COUCHDB-2734-header-date
Commit: 7ba3196d0da70ebfdd5b2b43adf3f11e850d972a
Parents: ecb1eba
Author: Łukasz Lalik <lu...@gmail.com>
Authored: Wed Dec 25 13:51:39 2013 +0100
Committer: Łukasz Lalik <lu...@gmail.com>
Committed: Wed Dec 25 13:51:39 2013 +0100
----------------------------------------------------------------------
examples/websocket/websocket.erl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/7ba3196d/examples/websocket/websocket.erl
----------------------------------------------------------------------
diff --git a/examples/websocket/websocket.erl b/examples/websocket/websocket.erl
index 7039e42..3fcc1f5 100644
--- a/examples/websocket/websocket.erl
+++ b/examples/websocket/websocket.erl
@@ -41,7 +41,9 @@
% [5]: Pass controll to messages handling loop. From this moment each message received from client
% can be handled...
% [6]: ...here as Payload. State is variable intended for holiding your custom state. ReplyChannel
-% is the same function as in [3].
+% is the same function as in [3].
+% Notice! Payload is list of messages received from client. Websocket framing mechanism
+% concatenates messages which are sent one after another in short time.
% [7]: Print payload received from client and send it back
% [8]: Message handling function must return new state value
start_link() ->