MCPcopy Create free account
hub / github.com/encode/starlette / Echo

Class Echo

tests/test_endpoints.py:197–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195 # Per the ASGI spec, "one or both keys may be present" on a receive event, so a
196 # compliant server may send both "text" and "bytes", with "text" set to None.
197 class Echo(WebSocketEndpoint):
198 encoding = "text"
199
200 sent: list[Message] = []
201

Calls

no outgoing calls