Usage ¶
createCustomSession(session_type
: hapi.sessionType, session_info
: void) → hapi.Session
Creates a new session using a custom implementation. Note that the implementation DLL must already have been bound to the session via calling hapi.bindCustomImplementation.
session_type
session_type indicates which custom session slot to create the session on.
session_info
Any data required by the custom implementation to create its session.
Returns session as a hapi.Session.