Added HttpClient to Core interface.
This commit is contained in:
parent
60ae74e347
commit
9e9659f71b
2 changed files with 11 additions and 1 deletions
|
|
@ -3,7 +3,6 @@ using Observatory.Framework.Files;
|
|||
using Observatory.Framework.Interfaces;
|
||||
using Observatory.NativeNotification;
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Observatory.PluginManagement
|
||||
{
|
||||
|
|
@ -111,6 +110,11 @@ namespace Observatory.PluginManagement
|
|||
Avalonia.Threading.Dispatcher.UIThread.InvokeAsync(action);
|
||||
}
|
||||
|
||||
public System.Net.Http.HttpClient HttpClient
|
||||
{
|
||||
get => Observatory.HttpClient.Client;
|
||||
}
|
||||
|
||||
public event EventHandler<NotificationArgs> Notification;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue