Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-25837

Make explicit in the spec that when using websockets the unsubscription will simply remove the websocket endpoint.

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Highest Highest
    • FHIRCast (FHIR)
    • 0.1 [deprecated]
    • Imaging Integration
    • (NA)
    • Subscribing and Unsubscribing
    • Hide

      Suggestion from Bas:

       

      Make explicit in the spec that when using websockets the unsubscription will simply remove the websocket endpoint.

      What will happen with the websocket disconnected? I assume that it will remain and can reconnect. Another approach would be to re-subscribe and treat the disconnect as an unsubscribe. This approach has the elegance that there will be no dangling websockets. What do you think?

       

      Pursuasive:

      Add clarification that when unsubscribing a websocket subscription, the websocket will be destroyed. A new subscription will receive a new websocket connection, the old one will not be used.

      Show
      Suggestion from Bas:   Make explicit in the spec that when using websockets the unsubscription will simply remove the websocket endpoint. What will happen with the websocket disconnected? I assume that it will remain and can reconnect. Another approach would be to re-subscribe and treat the disconnect as an unsubscribe. This approach has the elegance that there will be no dangling websockets. What do you think?   Pursuasive: Add clarification that when unsubscribing a websocket subscription, the websocket will be destroyed. A new subscription will receive a new websocket connection, the old one will not be used.
    • Isaac Vetter / Eric Martin : 5-0-0
    • Clarification
    • Compatible, substantive

    Description

      Make explicit in the spec that when using websockets the unsubscription will simply remove the websocket endpoint.

      What will happen with the websocket disconnected? I assume that it will remain and can reconnect. Another approach would be to re-subscribe and treat the disconnect as an unsubscribe. This approach has the elegance that there will be no dangling websockets. What do you think?

      Attachments

        Activity

          People

            niklas_svenzen Niklas Svenzen (Inactive)
            bvdh Bas van den Heuvel
            Bas van den Heuvel
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: