Module client

Module client 

Source
Expand description

Unified Gemini API client — wraps both Live (WebSocket) and REST API access.

The Client struct provides a single entry point for all Gemini APIs. REST API modules are feature-gated behind their respective features (e.g., generate, embed, models) so that live-only users pay zero cost.

Modules§

http
HTTP client for Gemini REST APIs.

Structs§

Client
Unified Gemini API client.
LiveSessionBuilder
Builder for Live WebSocket sessions initiated from a Client.