closeSession abstract method

Future<SessionV1?> closeSession(
  1. String? correlationId,
  2. String sessionId
)

Close a session by it's id.

  • correlation_id (optional) transaction id to trace execution through call chain.
  • sessionId an id of the session to be closed Return Future that receives closed session Throws error.

Implementation

Future<SessionV1?> closeSession(String? correlationId, String sessionId);