Skip to main content

get_session

Method
This is a method of the GatewayProtocol class in the gateway module.
Get a session by ID.

Signature

def get_session(&self, session_id: &str) -> Option<&dyn GatewaySessionProtocol>

Parameters

session_id
&str
required
No description available.

Returns

Returns
Option<&dyn GatewaySessionProtocol>
The result of the operation.