replace HttpWebRequest by HttpClient on another place

This commit is contained in:
UbitUmarov
2023-05-16 22:57:23 +01:00
parent 7860e2d861
commit 19229aff64
8 changed files with 244 additions and 59 deletions

View File

@@ -29,6 +29,7 @@ using System;
using System.Net;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Net.Http.Headers;
namespace OpenSim.Framework.ServiceAuth
{
@@ -44,5 +45,6 @@ namespace OpenSim.Framework.ServiceAuth
bool Authenticate(string data);
bool Authenticate(NameValueCollection headers, AddHeaderDelegate d, out HttpStatusCode statusCode);
void AddAuthorization(NameValueCollection headers);
void AddAuthorization(HttpRequestHeaders headers);
}
}