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 'clock' example #45

Closed
wants to merge 2 commits into from
Closed

add 'clock' example #45

wants to merge 2 commits into from

Conversation

gbrault
Copy link
Contributor

@gbrault gbrault commented Feb 3, 2023

clock.py and index_clock.html show an example where:

  • the client opens the ws channel
  • the server send every seconds a time stamp
  • the client display it

The client clicking on the close button is closing the ws channel

An example of communication from the server to the client
@miguelgrinberg
Copy link
Owner

Thanks! I've merged this with some minor changes for consistency.

@gbrault
Copy link
Contributor Author

gbrault commented Feb 8, 2023

You are welcome! Thanks for your work @miguelgrinberg

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