Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ createSessionAsync() [1/2]

std::future< std::optional< SessionPrx > > IceGrid::RegistryPrx::createSessionAsync ( std::string_view userId,
std::string_view password,
const Ice::Context & context = Ice::noExplicitContext ) const
nodiscard

Creates a client session.

Parameters
userIdThe user ID.
passwordThe password for the given user.
contextThe request context.
Returns
A future that becomes available when the invocation completes. This future holds:
  • A proxy to the newly created session. This proxy is never null.