WebAPI/Inter App Communication Alt proposal: Difference between revisions

→‎Receiver: I'd prefer s/connect/connections just like "messages" and "permissions".
(→‎Receiver: I'd prefer s/connect/connections just like "messages" and "permissions".)
Line 30: Line 30:


== Receiver ==
== Receiver ==
Applications can advertise themselves as able to connect given an specific keyword by adding an entry named ''connect'' in the manifest containing an object list where each object represents the description and details of each potential connection.
Applications can advertise themselves as able to connect given an specific keyword by adding an entry named ''connection'' in the manifest containing an object list where each object represents the description and details of each potential connection.


   {
   {
     'name': 'Foobar application',
     'name': 'Foobar application',
     /* ... */
     /* ... */
     'connect': {
     'connections': {
       'keyword1': {
       'keyword1': {
         'handler_path': '/handler1.html',
         'handler_path': '/handler1.html',
Confirmed users
110

edits