pub async fn launch_session(
session_url: &str,
config_capabilities: Vec<Configuration>,
exposed_dir: ServerEnd<DirectoryMarker>,
realm: &RealmProxy,
) -> Result<ExecutionControllerProxy, StartupError>
Expand description
Launches the specified session.
Any existing session child will be destroyed prior to launching the new session.
Returns a controller for the session component, or an error.
§Parameters
session_url
: The URL of the session to launch.config_capabilities
: Configuration capabilities that will target the session.exposed_dir
: The server end on which to serve the session’s exposed directory.realm
: The realm in which to launch the session.
§Errors
If there was a problem creating or binding to the session component instance.