Skip to content
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

Subscription parameters #123

Open
toomim opened this issue Aug 23, 2023 · 2 comments
Open

Subscription parameters #123

toomim opened this issue Aug 23, 2023 · 2 comments

Comments

@toomim
Copy link
Member

toomim commented Aug 23, 2023

The spec provides a lot of flexibility in how servers return subscription data:

  • The rate of updates
  • The granularity of updates
  • The format of updates (e.g. patch vs. snapshot; patch-type)
  • The versioning system (e.g. version-type) to use
  • Whether (and how) patches are rebased
  • How to behave if a disconnection happens
    • E.g. How long to hold history for offline clients
  • etc.

We would like clients to be able to specify how they'd like this data.

We have left room in the Subscribe: <parameters> header to specify these parameters. This issue is a spcae to design the parameters spec. What options should exist in there? How should they be specified?

See the Structured Headers rfc8941 for reference on how to structure header values in HTTP.

This issue consolidates discussions from: #80 (keep-alive), #92 (rebase mode), #101 (rebase mode), and #115 (rate & format of updates), and should be consider the discussion in #105.

@toomim
Copy link
Member Author

toomim commented Aug 23, 2023

Ah, @CxRes just wrote up a great list of subscription parameters for consideration here: #124 (comment)!

@toomim
Copy link
Member Author

toomim commented Sep 19, 2023

@CxRes also points out that subscription parameters are defined via the Accept-Events: header in his PREP proposal, and we could use that for reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant