Usage ¶
closeSession(session
: hapi.Session) → bool
Closes a session. If the session has been established using RPC, then the RPC connection is closed.
session
The hapi.Session to close. After this call, this session is invalid and passing it to HAPI calls other than hapi.isSessionValid may result in undefined behavior.