Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mercure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,11 @@ as patterns:
}
</script>

However, on the client side (i.e. in JavaScript's ``EventSource``), there is no built-in way
to see which topic a certain message is coming from. So if this (or any other meta information)
is important to you, you need to include it in the message's data (e.g. by adding a key to the
JSON, or a `data-*` attribute to the HTML).

.. tip::

Test if a URI Template matches a URL using `the online debugger`_
Expand Down
Loading