API Diff between 0.8.57-alpha00681 and 1.2.159-alpha1809
135 Additions
22 Removals
LagoVista.Core.Networking
LagoVista.Core.Networking.Interfaces
-
public interface IAPIResponse
-
public interface IAPIResponse<TResult> : IAPIResponse
-
public interface IMQTTAppClient : IMQTTClientBase, IDisposable
-
public interface IMQTTClientBase : IDisposable
-
public interface IMQTTDeviceClient : IMQTTClientBase, IDisposable
-
public interface IAuthManager
-
public interface IMQTTAppStatusReceivedEventArgs
-
public interface IMQTTCommandEventArgs
-
public interface IMQTTEventDeviceStatusReceivedEventArgs
-
public interface IMQTTEventReceivedEventArgs
-
public interface IMQTTIoTAppClient : IMQTTIoTClientBase
- string APIKey { get; set; }
- string AppId { get; set; }
- string ServerURL { get; set; }
- bool SettingsReady { get; }
- ushort PublishCommand(string deviceType, string deviceId, string command, string format, string data)
- ushort PublishEvent(string deviceType, string deviceId, string evt, string format, string data)
- Task<bool> ReadSettingsAsync()
- Task SaveSettingsAsync()
- ushort SubscribeToApplicationStatus()
- ushort SubscribeToDeviceCommands(string deviceType = "+", string deviceId = "+", string cmd = "+", string format = "+")
- ushort SubscribeToDeviceEvents(string deviceType = "+", string deviceId = "+", string evt = "+", string format = "+")
-
public interface IMQTTIoTClientBase
-
public interface IMQTTIoTDeviceClient : IMQTTIoTClientBase
-
public interface IRestClient
- Task<InvokeResult> DeleteAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<InvokeResult> GetAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<InvokeResult<TResponse>> GetAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
- Task<InvokeResult> PostAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<InvokeResult<TResponse>> PostAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
- Task<InvokeResult> PutAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<InvokeResult<TResponse>> PutAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
- Task<IAPIResponse> DeleteAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<IAPIResponse> GetAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<IAPIResponse<TResponse>> GetAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
- Task<IAPIResponse> PostAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<IAPIResponse<TResponse>> PostAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
- Task<IAPIResponse> PutAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- Task<IAPIResponse<TResponse>> PutAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
-
public interface ISSDPClient
-
public interface ISSDPServer
-
public interface ISSDPFinder
-
public interface ITokenManager
-
public interface IWebServer
-
public enum QOS
-
public enum ResponeStatus
LagoVista.Core.Networking.Models
LagoVista.Core.Networking.Resources
LagoVista.Core.Networking.Rest
-
public class RestClient : IRestClient
- public RestClient(HttpClient httpClient, IAuthManager authManager, ITokenManager tokenManager, ILogger logger, INetworkService networkService)
- public Task<IAPIResponse> DeleteAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- public Task<IAPIResponse> GetAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- public Task<IAPIResponse<TResponse>> GetAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
- public Task<IAPIResponse> PostAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- public Task<IAPIResponse<TResponse>> PostAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
- public Task<IAPIResponse> PutAsync<TModel>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase
- public Task<IAPIResponse<TResponse>> PutAsync<TModel, TResponse>(string path, TModel model, CancellationTokenSource cancellationTokenSource = null) where TModel : ModelBase where TResponse : ModelBase
LagoVista.Core.Networking.Services