22 lines
703 B
C#
22 lines
703 B
C#
using System.Net;
|
|
|
|
namespace DigitalData.Core.Abstractions.Client
|
|
{
|
|
public interface IBaseHttpClientService
|
|
{
|
|
CookieCollection GetCookies(string path = "");
|
|
|
|
Task<HttpResponseMessage> FetchAsync(
|
|
string? scheme = null,
|
|
int? port = null,
|
|
string path = "",
|
|
IEnumerable<KeyValuePair<string, object?>>? queryParams = null,
|
|
HttpMethod? method = null,
|
|
HttpContent? body = null,
|
|
IEnumerable<KeyValuePair<string, object>>? form = null,
|
|
IEnumerable<KeyValuePair<string, object>>? headers = null,
|
|
bool sendWithCookie = true,
|
|
bool saveCookie = true
|
|
);
|
|
}
|
|
} |