terminate Session
suspend fun terminateSession(sessionStatus: <Error class: unknown class> = SessionStatus.SessionTermination)
Terminate the session explicitly, send a status code to the holder, and close data transport. Note that method will also trigger the callback provided by onSessionTerminate(_:)
.
Parameters
session Status
the status code sent to the holder