[성현모] CPMeta , Netstandard 오류 수정
This commit is contained in:
@ -12,6 +12,20 @@ namespace CPMeta
|
||||
public class CPMeta
|
||||
{
|
||||
public static int Port { get; set; } = 9000;
|
||||
public static int TimeOut { get; set; } = 3000;
|
||||
|
||||
public CPMeta()
|
||||
{
|
||||
RestAPI.TimeOut = TimeOut;
|
||||
}
|
||||
|
||||
public static async Task<string> HealthCheck(string host)
|
||||
{
|
||||
string url = $"https://{host}:{Port}/CPMeta/Health/health";
|
||||
|
||||
var res = await RestAPI.GetAsync<string>(url);
|
||||
return res;
|
||||
}
|
||||
|
||||
public static async Task<Response_SetWbmsMeta> SetWbmsMetaAsync(string host, Request_SetWbmsMeta request)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user