Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_CircuitPython_HTTPServer
/ main
Function
main
examples/httpserver_websocket.py:105–110 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
103
104
105
async
def
main():
106
await gather(
107
create_task(handle_http_requests()),
108
create_task(handle_websocket_requests()),
109
create_task(send_websocket_messages()),
110
)
111
112
113
run(main())
Callers
1
httpserver_websocket.py
File · 0.70
Calls
3
handle_websocket_requests
Function · 0.85
send_websocket_messages
Function · 0.85
handle_http_requests
Function · 0.70
Tested by
no test coverage detected