Readonly httpClient
This commit is contained in:
parent
50ae69bea4
commit
cd96e10aa4
@ -6,12 +6,11 @@ namespace Rehau.Sku.Assist
|
|||||||
{
|
{
|
||||||
public class AddIn : IExcelAddIn
|
public class AddIn : IExcelAddIn
|
||||||
{
|
{
|
||||||
public static HttpClient httpClient;
|
public static readonly HttpClient httpClient = new HttpClient();
|
||||||
|
|
||||||
public void AutoOpen()
|
public void AutoOpen()
|
||||||
{
|
{
|
||||||
RegisterFunctions();
|
RegisterFunctions();
|
||||||
httpClient = new HttpClient();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AutoClose()
|
public void AutoClose()
|
||||||
|
Loading…
Reference in New Issue
Block a user