| std::optional< SessionPrx > Glacier2::SessionManagerPrx::create | ( | std::string_view | userId, |
| const std::optional< SessionControlPrx > & | control, | ||
| const Ice::Context & | context = Ice::noExplicitContext ) const |
Creates a new session object.
| userId | The user ID for the session. |
| control | A proxy to the session control object. This proxy is null when Glacier2.Server.Endpoints is not configured. |
| context | The request context. |
| Glacier2::CannotCreateSessionException | Thrown when the session cannot be created. |