IRestGatewayAsync
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRestGatewayAsync
Methods
SendAsync<T>(IReturn<T>, CancellationToken)
View Source
Declaration
Task<T> SendAsync<T>(IReturn<T> request, CancellationToken token)
Returns
System.Threading.Tasks.Task<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | request |
System.Threading.CancellationToken | token |
Type Parameters
T
GetAsync<T>(IReturn<T>, CancellationToken)
View Source
Declaration
Task<T> GetAsync<T>(IReturn<T> request, CancellationToken token)
Returns
System.Threading.Tasks.Task<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | request |
System.Threading.CancellationToken | token |
Type Parameters
T
PostAsync<T>(IReturn<T>, CancellationToken)
View Source
Declaration
Task<T> PostAsync<T>(IReturn<T> request, CancellationToken token)
Returns
System.Threading.Tasks.Task<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | request |
System.Threading.CancellationToken | token |
Type Parameters
T
PutAsync<T>(IReturn<T>, CancellationToken)
View Source
Declaration
Task<T> PutAsync<T>(IReturn<T> request, CancellationToken token)
Returns
System.Threading.Tasks.Task<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | request |
System.Threading.CancellationToken | token |
Type Parameters
T
DeleteAsync<T>(IReturn<T>, CancellationToken)
View Source
Declaration
Task<T> DeleteAsync<T>(IReturn<T> request, CancellationToken token)
Returns
System.Threading.Tasks.Task<<T>>
Parameters
Type | Name |
---|---|
ServiceStack.IReturn<T> | request |
System.Threading.CancellationToken | token |
Type Parameters
T