Last active
April 7, 2016 04:40
-
-
Save harmony7/9769831c55a5ff118694 to your computer and use it in GitHub Desktop.
LiveResource Interests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| value | changes | hint | multiplex | | |
--------+-----------+-----------+-----------+-----------+ | |
plain | no (*1) | yes | no (*2) | no | | |
wait | yes | yes | no (*3) | yes | | |
socket | no | no | no | yes | | |
stream | yes | yes | yes | no | | |
--------+-----------+-----------+-----------+-----------+ | |
*1 - The current value of a value resource is simply the result of a simple GET to the resource. | |
*2 - This is pointless because a hint is about receiving notification of updated data. | |
(You can do this already with HEAD and If-None-Match) | |
*3 - This could in theory be done using a long-polling HEAD with If-None-Match, but | |
items that support changes also need to send a changes-id header, | |
and further polls need to supply this to diff by |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment