openSession method
Future<SessionV1?>
openSession(
- String? correlationId,
- String? user_id,
- String? user_name,
- String? address,
- String? client,
- dynamic user,
- dynamic data,
override
Creates a new session.
correlation_id
(optional) transaction id to trace execution through call chain.user_id
an user id of created session.user_name
an user name of created session.address
an address of created session.client
a client of created session.user
an user of created session.data
an data of created session. Return (optional) Future that receives created session or error.
Implementation
@override
Future<SessionV1?> openSession(String? correlationId, String? user_id,
String? user_name, String? address, String? client, user, data) async {
var timing = instrument(correlationId, 'sessions.open_session');
var session = await controller.openSession(
correlationId, user_id, user_name, address, client, user, data);
timing.endTiming();
return session;
}