jstp / jstp-rfc

JSON Transfer Protocol RFC
0 stars 0 forks source link

Should the callbacks for Subscription Endpoints be able to generate custom Answers? #19

Open xaviervia opened 11 years ago

xaviervia commented 11 years ago

This means: if a Subscription Endpoint is bound to a BIND method, can it send special Answer Dispatches to incoming Subscriptions?

Scenario:

  1. Method Alpha Subscribes to BIND User
  2. Method Beta Subscribes to GET User
  3. Method Alpha can now send a GET User, but rejects the Beta attempt to Subscribe and wants to send an ANSWER instead.
xaviervia commented 11 years ago

Sure thing. But several versions ahead.