connect

Function connect 

Source
pub async fn connect(
    config: SessionConfig,
    transport_config: TransportConfig,
) -> Result<SessionHandle, SessionError>
Expand description

Connect to the Gemini Multimodal Live API and return a session handle.

This is the main entry point. It uses the default TungsteniteTransport and JsonCodec. For custom transports or codecs (e.g. testing with MockTransport), use connect_with.