IRestClientAsync
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRestClientAsync : IServiceClientCommon, IDisposable
Methods
GetAsync<TResponse>(IReturn<TResponse>, CancellationToken)
View Source
Declaration
Task<TResponse> GetAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
GetAsync<TResponse>(Object, CancellationToken)
View Source
Declaration
Task<TResponse> GetAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
System.Object | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
GetAsync(IReturnVoid, CancellationToken)
View Source
Declaration
Task GetAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.IReturnVoid | requestDto |
System.Threading.CancellationToken | token |
DeleteAsync<TResponse>(IReturn<TResponse>, CancellationToken)
View Source
Declaration
Task<TResponse> DeleteAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
DeleteAsync<TResponse>(Object, CancellationToken)
View Source
Declaration
Task<TResponse> DeleteAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
System.Object | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
DeleteAsync(IReturnVoid, CancellationToken)
View Source
Declaration
Task DeleteAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.IReturnVoid | requestDto |
System.Threading.CancellationToken | token |
PostAsync<TResponse>(IReturn<TResponse>, CancellationToken)
View Source
Declaration
Task<TResponse> PostAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
PostAsync<TResponse>(Object, CancellationToken)
View Source
Declaration
Task<TResponse> PostAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
System.Object | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
PostAsync(IReturnVoid, CancellationToken)
View Source
Declaration
Task PostAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.IReturnVoid | requestDto |
System.Threading.CancellationToken | token |
PutAsync<TResponse>(IReturn<TResponse>, CancellationToken)
View Source
Declaration
Task<TResponse> PutAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
PutAsync<TResponse>(Object, CancellationToken)
View Source
Declaration
Task<TResponse> PutAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
System.Object | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
PutAsync(IReturnVoid, CancellationToken)
View Source
Declaration
Task PutAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.IReturnVoid | requestDto |
System.Threading.CancellationToken | token |
PatchAsync<TResponse>(IReturn<TResponse>, CancellationToken)
View Source
Declaration
Task<TResponse> PatchAsync<TResponse>(IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
PatchAsync<TResponse>(Object, CancellationToken)
View Source
Declaration
Task<TResponse> PatchAsync<TResponse>(object requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
System.Object | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
PatchAsync(IReturnVoid, CancellationToken)
View Source
Declaration
Task PatchAsync(IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.IReturnVoid | requestDto |
System.Threading.CancellationToken | token |
CustomMethodAsync<TResponse>(String, IReturn<TResponse>, CancellationToken)
View Source
Declaration
Task<TResponse> CustomMethodAsync<TResponse>(string httpVerb, IReturn<TResponse> requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
System.String | httpVerb |
ServiceStack.IReturn<T> | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
CustomMethodAsync<TResponse>(String, Object, CancellationToken)
View Source
Declaration
Task<TResponse> CustomMethodAsync<TResponse>(string httpVerb, object requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<TResponse>>
Parameters
Type | Name |
---|---|
System.String | httpVerb |
System.Object | requestDto |
System.Threading.CancellationToken | token |
Type Parameters
TResponse
CustomMethodAsync(String, IReturnVoid, CancellationToken)
View Source
Declaration
Task CustomMethodAsync(string httpVerb, IReturnVoid requestDto, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.String | httpVerb |
ServiceStack.IReturnVoid | requestDto |
System.Threading.CancellationToken | token |