Skip to content

Commit

Permalink
mention relative URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed May 29, 2019
1 parent f0cd5e8 commit 9fad16a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api-websockets.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ space and the URI of the resource that has changed:
pub https://example.org/data/test
```

Some implementations also support using IRIs that are relative to the host,
e.g. `/data/test` instead of `https://example.org/data/test`.

Subscribing to a container can also be really useful, since all CRUD operations
(POST, PUT, PATCH, DELETE) performed on resources of that container will trigger
a notification for the container URI. This makes synchronization between
Expand Down

0 comments on commit 9fad16a

Please sign in to comment.