async def METHOD_NAME(scope, receive, send):
    scheme = scope["scheme"]
    host, port = scope["client"]
    addr = "%s://%s:%d" % (scheme, host, port)
    await send({"type": "websocket.accept"})
    await send({"type": "websocket.send", "text": addr})