Skip to content
Permalink
6366ba9316
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
15 lines (14 sloc) 743 Bytes
using System.Threading;
using System.Threading.Tasks;
namespace ServiceStack
{
public interface IHttpRestClientAsync : IRestClientAsync
{
Task<TResponse> GetAsync<TResponse>(string relativeOrAbsoluteUrl);
Task<TResponse> DeleteAsync<TResponse>(string relativeOrAbsoluteUrl);
Task<TResponse> PostAsync<TResponse>(string relativeOrAbsoluteUrl, object request);
Task<TResponse> PutAsync<TResponse>(string relativeOrAbsoluteUrl, object request);
Task<TResponse> CustomMethodAsync<TResponse>(string httpVerb, string relativeOrAbsoluteUrl, object request);
Task<TResponse> SendAsync<TResponse>(string httpMethod, string absoluteUrl, object request, CancellationToken token = default);
}
}