Skip to content

Commit

Permalink
Merge branch '6.4' into 7.1
Browse files Browse the repository at this point in the history
* 6.4:
  Minor tweaks
  [Mercure] Adding hint for multiple topics
  • Loading branch information
javiereguiluz committed Jan 21, 2025
2 parents 39b2464 + e5e62c4 commit 2a777ac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mercure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,12 @@ as patterns:
}
</script>

However, on the client side (i.e. in JavaScript's ``EventSource``), there is no
built-in way to know which topic a certain message originates from. 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

0 comments on commit 2a777ac

Please sign in to comment.