3using System.Threading.Tasks;
5using Microsoft.AspNetCore.SignalR.Client;
6using Microsoft.Extensions.Logging;
64 ValueTask<ServerInformationResponse>
ServerInformation(CancellationToken cancellationToken);
77 Action<ILoggingBuilder>? loggingConfigureAction =
null,
78 CancellationToken cancellationToken =
default);
Represents a JWT returned by the API.
SignalR client methods for receiving JobResponses.
For managing server administration.
For logging HTTP requests and responses.
Main client for communicating with a server.
Uri Url
The connected server's root Uri.
IUserGroupsClient Groups
Access the IUserGroupsClient.
IInstanceManagerClient Instances
Access the IInstanceManagerClient.
ValueTask< IAsyncDisposable > SubscribeToJobUpdates(IJobsHub jobsReceiver, IRetryPolicy? retryPolicy=null, Action< ILoggingBuilder >? loggingConfigureAction=null, CancellationToken cancellationToken=default)
Subscribe to all job updates available to the IRestServerClient.
ValueTask< ServerInformationResponse > ServerInformation(CancellationToken cancellationToken)
The ServerInformationResponse of the IRestServerClient.
IUsersClient Users
Access the IUsersClient.
void AddRequestLogger(IRequestLogger requestLogger)
Adds a requestLogger to the request pipeline.
TokenResponse Token
The Token used to access the server.
IAdministrationClient Administration
Access the IAdministrationClient.
TimeSpan Timeout
The connection timeout.
ITransferClient Transfer
Access the ITransferClient.
For transferring data Streams.
For managing UserGroupResponses.
For managing UserResponses.