Skip to main content

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
TypeName
ServiceStack.IReturn<T>request
System.Threading.CancellationTokentoken
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
TypeName
ServiceStack.IReturn<T>request
System.Threading.CancellationTokentoken
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
TypeName
ServiceStack.IReturn<T>request
System.Threading.CancellationTokentoken
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
TypeName
ServiceStack.IReturn<T>request
System.Threading.CancellationTokentoken
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
TypeName
ServiceStack.IReturn<T>request
System.Threading.CancellationTokentoken
Type Parameters
  • T