Tuesday, 25 February 2020
  2 Replies
  1.4K Visits
  Subscribe
I have a Wamp2 client that connects to a Wamp server, and now need to subscribe to a topic using wildcards. Looking at the manual (p169-170), the Wamp2 client subscribe method should have three paramters, Request, Options and Topic. However, when I try to write the subscribe code, it appears that the subscribe method only has two parameters, Topic and RequestId. I need the Options parameter to explicitly state that I am using wild card matching, so it needs to have a value like {"match":"wildcard"}. Is the manual wrong, the component wrong, or is there some other way to supply values for the Options parameter?