1
This commit is contained in:
13
Core/Net/WebProvider.cs
Normal file
13
Core/Net/WebProvider.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using System.Threading;
|
||||
namespace BITKit.HttpNet
|
||||
{
|
||||
[System.Serializable]
|
||||
public abstract class WebProvider : IWebProvider
|
||||
{
|
||||
public abstract UniTask<string> GetAsync(string url, CancellationToken cancellationToken = default);
|
||||
public abstract UniTask<string> PostAsync<T>(string url, T value, CancellationToken cancellationToken = default);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user