Guava.Commands (Guava v0.34.0)

Copy Markdown View Source

Client-to-server commands sent over a call's WebSocket connection.

Each command is a struct that serializes to JSON identically to the Python SDK's model_dump. They are discriminated on the wire by command_type.

Summary

Types

t()

Any command that can be sent to the Guava server.

Functions

Encode a command struct to a plain JSON-ready map.

Types

Functions

to_map(command)

@spec to_map(t()) :: map()

Encode a command struct to a plain JSON-ready map.