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

High level API for Web Transport #1616

Open
huitema opened this issue Jan 10, 2024 · 0 comments
Open

High level API for Web Transport #1616

huitema opened this issue Jan 10, 2024 · 0 comments

Comments

@huitema
Copy link
Collaborator

huitema commented Jan 10, 2024

The current model requires applications to do a lot of plumbing. Ideally, we should have a simple way to run the loop in a background thread, while providing a simple API to use the most important features from other threads in the application:

  • open a connection, and set parameters
  • open streams
  • queue data for sending in a stream, or on datagrams,
  • receive queued data on stream or datagrams,
  • close streams
  • reset streams
  • ask to stop sending

Adopting a simple queuing model would isolate implementations from the complexity of managing a packet loop.

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