feature: adds GenericHttpClient to CreateCommForDevice medthod

This commit is contained in:
Jason Alborough
2022-01-03 14:08:11 -05:00
parent 446bae4dd3
commit 48276a24bb

View File

@@ -81,6 +81,12 @@ namespace PepperDash.Essentials.Core
}
case eControlMethod.Telnet:
break;
case eControlMethod.Http:
{
var http = new GenericHttpClient(deviceConfig.Key + "-http", deviceConfig.Name + "-http" ,c.Address);
comm = http;
break;
}
default:
break;
}