Found 2 packages
A plugin for the Polly Cache policy to serialize/deserialize System.Net.Http.HttpResponseMessage. Can be used with Microsoft.Extensions.Http.PolicyHttpMessageHandler.
The HttpClient Extension For Hikvision Open8200(V3.7.0) platform. Sample: using YaDong.Artemis.Client; HttpClientHandler httpClientHandler = new HttpClientHandler(); httpClientHandler.ClientCertificateOptions = ClientCertificateOption.Automatic; httpClientHandler.ServerCertificateCustomValidationCallback = (request, x509Cert, x509Chain, sslPolicyErrors) => true; var httpClient = new HttpClient(httpClientHandler); httpClient.BaseAddress = new Uri("https://open8200.hikvision.com"); //url like /artemis/api/fms/v2/resource/findCamera?indexCode=65&deviceCode=65000000001310979424&pageNo=1&pageSize=20 httpResponseMessage = await httpClient.ArtemisGetAsync(url, appKey, appSecret); //url like /artemis/api/bms/v2/searchMotorVehicles httpResponseMessage = await httpClient.ArtemisPostAsync(url,httpContent, appKey, appSecret); httpResponseMessage = await httpClient.ArtemisPutAsync(url, httpContent, appKey, appSecret); httpResponseMessage = await httpClient.ArtemisDeleteAsync(url, appKey, appSecret); Email: yadong_w@163.com