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

Add TCP Socket Support #750

Merged
merged 5 commits into from
Mar 16, 2021
Merged

Add TCP Socket Support #750

merged 5 commits into from
Mar 16, 2021

Conversation

tresf
Copy link
Contributor

@tresf tresf commented Jan 27, 2021

Draft documentation: https://qz.io/wiki/Socket-Communication

Note, this feature is a work-in-progress. To use this feature, you must compile this branch by hand.

@tresf
Copy link
Contributor Author

tresf commented Feb 10, 2021

Initial feedback:

Is there a way to open a socket and simply listen on the browser for multiple events? The example in documentation appears to showcase a request / response model.

@akberenz
Copy link
Member

Socket model has been changed over to use streams for all responses from the connections. (similar to what we use for serial/usb connections)

@tresf
Copy link
Contributor Author

tresf commented Mar 16, 2021

Client hasn't provided feedback, we'll merge as-is and improve on master as we move forward. Please consider this API volatile until there's more use-cases for it. (Disclaimer added to this bug report, the wiki and sample.html).

Unrelated, but this PR will probably cause a few merge conflicts do to some well needed reformatting that occurs as part of this branch.

@tresf tresf merged commit d2692ad into master Mar 16, 2021
@tresf tresf deleted the tcp-support branch March 16, 2021 19:19
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

Successfully merging this pull request may close these issues.

2 participants