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

[Access] Add examples for ws conn usages #6643

Open
Tracked by #6163
Guitarheroua opened this issue Nov 12, 2024 · 2 comments · May be fixed by onflow/docs#1074
Open
Tracked by #6163

[Access] Add examples for ws conn usages #6643

Guitarheroua opened this issue Nov 12, 2024 · 2 comments · May be fixed by onflow/docs#1074
Assignees
Labels

Comments

@Guitarheroua
Copy link
Contributor

Guitarheroua commented Nov 12, 2024

The WebSocket examples should be written in a language other than Go, ideally in JS.

The WebSocket examples should be divided into two types:

  1. Basic templates that could be used as a skeleton for a WebSocket project. They should include a WebSocket connection, examples demonstrating key actions such as 'subscribe,' 'unsubscribe,' and 'listOfSubscription,' and a message handler to receive messages from various topics.
  2. Real-life usage examples that illustrate small projects and possible ways to integrate WebSockets into a project. Similar to what was done, for instance, in the article https://medium.com/@thekrokcompany/how-to-use-flow-event-subscription-23992f445ed0

The WebSocket examples repo should be created in https://github.com/The-K-R-O-K organization

@illia-malachyn
Copy link
Contributor

Speaking of 1, I added a skeleton of small examples here. I'll add more when everything is merged and I can test them against local net.

Regarding 2, we haven't come up with any good ideas yet, so we are postponing it as well.

@illia-malachyn
Copy link
Contributor

Moving this one to Blocked till we finish with fixing/merging other PRs related to websockets

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

Successfully merging a pull request may close this issue.

3 participants