Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created June 17, 2020 05:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/179e20e84f49981f96bf218073822c75 to your computer and use it in GitHub Desktop.
Save velotiotech/179e20e84f49981f96bf218073822c75 to your computer and use it in GitHub Desktop.
publish data to stream
sse.publish({"message": datetime.datetime.now()}, type='publish')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment