Skip to main content

register_agent

Method
This is a method of the GatewayProtocol class in the gateway module.
Register an agent with the gateway.

Signature

def register_agent(&mut self, agent: Arc<Agent>, agent_id: Option<String>) -> String

Parameters

agent
Arc<Agent>
required
No description available.
agent_id
Option<String>
required
No description available.

Returns

Returns
String
The result of the operation.