Class HostRunSessionOpenParams
- Namespace
- RDCore.SDK.Platform.Components
- Assembly
- RDCore.SDK.dll
Request for rdcore/host/runSession/open: opens a run session, in which the procedures of a project are run one request at a time and its
module-level state lasts from one to the next. What a test runner opens for a test module, and the AI assistant for the procedures it runs.
[Method("rdcore/host/runSession/open", Direction.ClientToServer)]
public record HostRunSessionOpenParams : IRequest, IRequest<Unit>, IRequest<HostRunSessionOpenResult>, IBaseRequest, IEquatable<HostRunSessionOpenParams>
- Inheritance
-
HostRunSessionOpenParams
- Implements
-
IRequestIRequest<Unit>IRequest<HostRunSessionOpenResult>IBaseRequest
- Inherited Members
Remarks
A run session is composed from the project as the environment host has loaded it, apart from the runtime session of the shell (HostSessionStatusParams): what one does to its variables, the other does not see. It lasts until it is closed (HostRunSessionCloseParams), the project is reloaded (HostProjectReload), or the host exits.
A project the host has not loaded is refused with ProjectNotLoaded.
Part of the component protocol (RDCoreComponentProtocol), outside the SDK's compatibility promise.
Properties
ProjectUri
The project file (.rdproj) of the project to run: a workspace can hold several.
public Uri ProjectUri { get; init; }