/aioui

Asyncio User Interface

Primary LanguageHTMLMIT LicenseMIT

Lesson Plan

  1. Define asyncio terms and explain how generators evolved to await
  2. Demonstrate the power of asynchronous via web client
  3. Walk through javascript EventSource code; demonstrating async consumption
  4. Connect to server and Update Connection via curl
  5. Build a Python asyncio Client
  6. Build a Python asyncio Server
  7. Want more asyncio checkout out Joel's talk
  8. Connect with us on Twitter @eloy @jpwatts

Connect to server

curl "http://159.203.72.183:8000/events"

Update Connection

# Remember to replace the last portion with the connection id
curl -X PUT -d '{"text":"Howdy, world"}' "http://159.203.72.183:8000/data/<replace-with-id>"