voryx / Thruway

PHP Client and Router Library for Autobahn and WAMP (Web Application Messaging Protocol) for Real-Time Application Messaging
MIT License
674 stars 117 forks source link

Pattern-based Registrations #356

Open boenrobot opened 2 years ago

boenrobot commented 2 years ago

Spec reference: https://wamp-proto.org/wamp_latest_ietf.html#section-11.8

Thruway already supports prefix matching for subscriptions, but it doesn't seem to support them for RPC register calls.

It should either support them, or at least return an error when an unknown matcher is requested in RPC register calls. Not returning an error makes the behaviour unexpected by a client that does support this, such as Autobahn-js.