Create Session • Rust AI Agent SDK
create_session: Create a new session.
create_session
Method
</div>
This is a method of the GatewayProtocol class in the gateway module.
Create a new session.
Signature
def create_session(
&mut self,
agent_id: &str,
client_id: Option<String>,
session_id: Option<String>,
) -> Result<Box<dyn GatewaySessionProtocol>>Parameters
ParamField
&strNo description available.
ParamField
Option<String>No description available.
ParamField
Option<String>No description available.