client
Installation
SKILL.md
VuerClient
Basic Usage
import asyncio
from vuer import VuerClient
from vuer.events import ClientEvent
class MyEvent(ClientEvent):
etype = "MY_EVENT"
async def main():
async with VuerClient(URI="ws://localhost:8012") as client:
client.send @ MyEvent(value={"data": 123}) # Fire-and-forget
await client.send(MyEvent(value="x")) # Awaitable
asyncio.run(main())