jcelliott / turnpike

Go implementation of a WAMP (Web Application Messaging Protocol) client and router
MIT License
258 stars 88 forks source link

Implement advanced subscription #144

Open martin31821 opened 6 years ago

martin31821 commented 6 years ago

This yields the possibility to access the otherwise omitted 'details' argument The details argument contains important information e.g. the publishers authid.

It is useful when subscribing to a wildcard topic as the handler is now able to identify the topic and the publisher.

This PR does not introduce any breaking API changes. The functionality is implemented as addition to already existing code