-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stu2 add websockets #295
Stu2 add websockets #295
Conversation
From https://github.com/HL7/fhircast-docs/wiki/Websocket-proposal with some additional specificity. Remove May2019Ballot from menu.
per Will's review
fix some links and remove references to source diagrams/flowcharts because they're hosted on google drive .... :(
Necessary to correlate event notification "requests" with event notification "responses" -- because, truly, there's no such thing as a request or a response in websockets.
`hub.channel.endpoint` to be included in websockets unsubscribes, callback/secret/challenge only in webhook, clarify additive/subtractive nature of a subscription
for websockets to exchange the same info that intent verification exchanges over webhook
Fixes #299 |
|
||
If OAuth 2.0 authentication is used, this POST request SHALL contain the Bearer access token in the HTTP Authorization header. | ||
|
||
Hubs SHALL allow subscribers to re-request subscriptions that are already activated. Each subsequent and verified request to a Hub to subscribe or unsubscribe SHALL override the previous subscription state for a specific topic / callback URL combination. | ||
Hubs SHALL allow subscribers to re-request subscriptions that are already activated. Each subsequent and verified request to a Hub to subscribe or unsubscribe SHALL override the previous subscription state for a specific `hub.topic`, `hub.callback` / `hub.channel.endpoint` url, and `hub.events` combination. For example, a subscriber MAY modify its subscription by subscribing to or unsubscribing from additional events by sending subscription requests for additional events with the same topic and callback/endpoint url. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So are the unique identifying combos topic/callback (for webhook) and endpoint/events (for websocket)? The only real difference between the two methods is the callback and endpoint so shouldn't the rest be the same? So shouldn't topic be included in the websockets uniqueness and what about events for webhook?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Read this wrong, this is what I expected.
First take on formal websocket support in spec.