Skip to content

Commit 96ebc4f

Browse files
authored
Merge pull request #262 from zolkis/expose-algo
Fix #258: improve expose() algorithm
2 parents 3b30911 + cf5bff0 commit 96ebc4f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2874,7 +2874,13 @@ <h3>The <dfn>EventSubscriptionHandler</dfn> callback</h3>
28742874
<li>
28752875
Set up the <a>WoT Interactions</a> based on introspecting ||td||
28762876
as explained in [[!WOT-TD]] and [[!WOT-PROTOCOL-BINDINGS]].
2877-
Make a request to the underlying platform to initialize the <a>Protocol Bindings</a> and then start serving external requests for <a>WoT Interactions</a> (read, write and observe <a>Properties</a>, invoke <a>Action</a>s and manage <a>Event</a> subscriptions), based on the <a>Protocol Bindings</a>.
2877+
Make a request to the underlying platform to initialize the
2878+
<a>Protocol Bindings</a> and then start serving external requests
2879+
for <a>WoT Interactions</a> (read, write and observe <a>Properties</a>,
2880+
invoke <a>Action</a>s and manage <a>Event</a> subscriptions),
2881+
based on the <a>Protocol Bindings</a>.
2882+
Implementations MAY reject this step for any reason (e.g. if they
2883+
want to enforce further checks and constraints on interaction forms).
28782884
</li>
28792885
<li>
28802886
If there was an error during the request, reject |promise| with an {{Error}} object |error| with |error|'s |message| set to the error code seen by the <a>Protocol Bindings</a> and abort these steps.

0 commit comments

Comments
 (0)