example (commented) websocket_registry calls